X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Freminder%2Femail_warning.inc.php;h=6fc5c4066052637a881307a97ebaae372fdcb7c2;hb=97980d82cffb765e16502de2d1fb694d69631b25;hp=881a3e55d8da5479f9f1223cc7de7f05dc8dbf2c;hpb=5e1513f67936a6c6866113d260746711af4ea2ee;p=platal.git diff --git a/include/reminder/email_warning.inc.php b/include/reminder/email_warning.inc.php index 881a3e5..6fc5c40 100644 --- a/include/reminder/email_warning.inc.php +++ b/include/reminder/email_warning.inc.php @@ -41,7 +41,7 @@ class ReminderEmailWarning extends Reminder return true; } - public static function IsCandidate(User &$user, $candidate) + public static function IsCandidate(User $user, $candidate) { if (!$user->checkPerms(User::PERM_MAIL)) { return false;