| ... |
... |
@@ -7,12 +7,12 @@ |
| 7 |
7 |
#set($obj = $userDoc.getObject("XWiki.XWikiUsers")) |
| 8 |
8 |
#set($lastName = $obj.get("last_name")) |
| 9 |
9 |
#if(!$lastName.matches('[A-Z]{1}\.')) |
| 10 |
|
- #set($warnings = $warnings.add("user $userId lastname does not match privacy rules")) |
|
10 |
+ $warnings.add("user $userId lastname does not match privacy rules") |
| 11 |
11 |
#end |
| 12 |
12 |
|
| 13 |
13 |
#set($email = $obj.getValue("email")) |
| 14 |
14 |
#if($email != "") |
| 15 |
|
- #set($warnings = $warnings.add("user $userId email does not match privacy rules")) |
|
15 |
+ $warnings.add("user $userId email does not match privacy rules") |
| 16 |
16 |
#end |
| 17 |
17 |
#end |
| 18 |
18 |
$warnings |