Removes the deprecated S::has_perms method (not used anymore in master).
authorVincent Zanotti <vincent.zanotti@m4x.org>
Mon, 15 Jun 2009 18:41:10 +0000 (20:41 +0200)
committerVincent Zanotti <vincent.zanotti@m4x.org>
Mon, 15 Jun 2009 18:41:10 +0000 (20:41 +0200)
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
classes/s.php

index e07a257..747c499 100644 (file)
@@ -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();