X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Freminder%2Fno_redirection.inc.php;h=b6211d404594e83784f0f8e3a94510a2f63d37cb;hb=16d2c88314364b5e79936f4262d453dff03abdad;hp=9555959cb62f1670baba85fbdfcae2d9aa987145;hpb=8230e9f8eff954fb1103c8bdcf0d22557d419ae7;p=platal.git diff --git a/include/reminder/no_redirection.inc.php b/include/reminder/no_redirection.inc.php index 9555959..b6211d4 100644 --- a/include/reminder/no_redirection.inc.php +++ b/include/reminder/no_redirection.inc.php @@ -1,6 +1,6 @@ changeTpl('reminder/no_redirection.tpl', NO_SKIN); - $page->assign('baseurl', $this->GetBaseUrl()); + return 'Xorg/MesAdressesDeRedirection'; } public static function IsCandidate(User &$user, $candidate) { + if (!$user->checkPerms(User::PERM_MAIL)) { + return false; + } return S::v('no_redirect'); } }