Changes for page XWiki Users
Last modified by bougault on 2022/12/20 15:43
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,7 +1,7 @@ 1 1 {{velocity output="no"}} 2 2 #set($counter = 0) 3 3 #set($dateStart = $datetool.getSystemTime()) 4 -#set($query = $services.query.xwql("from doc.object(XWiki.XWikiUsers) as users")) 4 +#set($query = $services.query.xwql("from doc.object(XWiki.XWikiUsers) as users where users.email <> ''")) 5 5 #set($users = $query.execute()) 6 6 7 7 #foreach($userId of $users) ... ... @@ -22,25 +22,9 @@ 22 22 {{/velocity}} 23 23 24 24 {{velocity}} 25 -$dateStart 26 -$dateEnd 27 -$counter 28 -$duration 29 -{{/velocity}} 30 30 31 -{{velocity}} 32 -$dateStart 33 -$dateEnd 34 -$counter 35 -$duration 36 -{{/velocity}} 26 +{{html clean="false"}} 27 +<p>Updated $counter users in $duration</p> 28 +{{/html}} 37 37 38 -{{velocity}} 39 -$counter 40 -$duration 41 41 {{/velocity}} 42 - 43 -{{html}} 44 -$counter 45 -$duration 46 -{{/html}}