|
@@ -80,7 +80,7 @@ discard block |
|
|
block discarded – undo |
|
80
|
80
|
* user is a federation administrator of *any* federation. When given a parameter (ISO shortname of federation), it checks |
|
81
|
81
|
* if the user administers this particular federation. |
|
82
|
82
|
* |
|
83
|
|
- * @param string $federation optional: federation to be checked |
|
|
83
|
+ * @param integer $federation optional: federation to be checked |
|
84
|
84
|
* @return boolean TRUE if the user is federation admin, FALSE if not |
|
85
|
85
|
*/ |
|
86
|
86
|
public function isFederationAdmin($federation = 0) { |
|
@@ -124,6 +124,9 @@ discard block |
|
|
block discarded – undo |
|
124
|
124
|
return FALSE; |
|
125
|
125
|
} |
|
126
|
126
|
|
|
|
127
|
+ /** |
|
|
128
|
+ * @param string $content |
|
|
129
|
+ */ |
|
127
|
130
|
public function sendMailToUser($subject, $content) { |
|
128
|
131
|
$mailaddr = $this->getAttributes("user:email"); |
|
129
|
132
|
if (count($mailaddr) == 0) { // we don't know user's mail address |
Please login to merge, or discard this patch.