From: Vincent Zanotti Date: Mon, 15 Jun 2009 18:41:10 +0000 (+0200) Subject: Removes the deprecated S::has_perms method (not used anymore in master). X-Git-Tag: core/1.0.1~13 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=dd919c97a745363b0a9bfcb7c18d6c4b35ee8c11;p=platal.git Removes the deprecated S::has_perms method (not used anymore in master). Signed-off-by: Vincent Zanotti --- diff --git a/classes/s.php b/classes/s.php index e07a257..747c499 100644 --- a/classes/s.php +++ b/classes/s.php @@ -124,12 +124,6 @@ class S return self::$user; } - public static function has_perms() - { - // XXX: Deprecated, use S::admin() instead - return self::admin(); - } - public static function logged() { return S::i('auth', AUTH_PUBLIC) >= Platal::session()->loggedLevel();