X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=classes%2Fsession.php;h=3bd434928ee4f02d86769a509f870215019baa2a;hb=24cec3d821a65b3b4a116d41bf393bae35dcb7e4;hp=6052ec6af55d7ebc87a3db91c3ff2e3275fd2f97;hpb=42a50827dc2ac2b13ddaf77ea16c0989cd8b960d;p=platal.git diff --git a/classes/session.php b/classes/session.php index 6052ec6..3bd4349 100644 --- a/classes/session.php +++ b/classes/session.php @@ -1,6 +1,6 @@ = AUTH_COOKIE; } - function identified() + public static function identified() { return Session::v('auth', AUTH_PUBLIC) >= AUTH_MDP; }