| ... |
... |
@@ -8,13 +8,13 @@ |
| 8 |
8 |
#set($counter = $counter + 1) |
| 9 |
9 |
#set($userDoc = $xwiki.getDocument($userId)) |
| 10 |
10 |
#set($obj = $userDoc.getObject("XWiki.XWikiUsers")) |
| 11 |
|
- $obj.set("email", "") |
|
11 |
+ $obj.set("email", "") |
| 12 |
12 |
#set($lastName = $obj.get("last_name")) |
| 13 |
13 |
#if($lastName && $lastName != "") |
| 14 |
|
- $obj.set("last_name", $lastName.substring(0,1).toUpperCase().concat(".")) |
|
14 |
+ $obj.set("last_name", $lastName.substring(0,1).toUpperCase().concat(".")) |
| 15 |
15 |
#end |
| 16 |
16 |
##$userId |
| 17 |
|
- $userDoc.save() |
|
17 |
+ $userDoc.save() |
| 18 |
18 |
#end |
| 19 |
19 |
|
| 20 |
20 |
#set($dateEnd = $datetool.getSystemTime()) |