From dd919c97a745363b0a9bfcb7c18d6c4b35ee8c11 Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Mon, 15 Jun 2009 20:41:10 +0200 Subject: [PATCH] Removes the deprecated S::has_perms method (not used anymore in master). Signed-off-by: Vincent Zanotti --- classes/s.php | 6 ------ 1 file changed, 6 deletions(-) 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(); -- 2.1.4