X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fbanana%2Fhooks.inc.php;h=6f9e8f0e4869b781e2516617ce33044a9d995c98;hb=3af5a31e4e6d5655fa43b218dc3c8ba15c53592e;hp=69c5c37a63fade4dc730f369057f4cc39d03abff;hpb=a0c034efcf0777541e087500e94853f515cda1ca;p=platal.git diff --git a/include/banana/hooks.inc.php b/include/banana/hooks.inc.php index 69c5c37..6f9e8f0 100644 --- a/include/banana/hooks.inc.php +++ b/include/banana/hooks.inc.php @@ -1,6 +1,6 @@ asso('nom'); - if (S::has_perms()) { + if (S::admin()) { return "Administrateur de Polytechnique.org"; } else if ($group && $perms->hasFlag('groupadmin')) { return "Animateur de $group";