API changes on PlSqlJoin in order to simplify its usage.
[platal.git] / classes / s.php
index 7df67c9..0ee548e 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2008 Polytechnique.org                              *
+ *  Copyright (C) 2003-2010 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -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();