projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a105f58
)
Removes the deprecated S::has_perms method (not used anymore in master).
author
Vincent Zanotti
<vincent.zanotti@m4x.org>
Mon, 15 Jun 2009 18:41:10 +0000
(20:41 +0200)
committer
Vincent 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
patch
|
blob
|
blame
|
history
diff --git
a/classes/s.php
b/classes/s.php
index
e07a257
..
747c499
100644
(file)
--- 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();