diff options
author | Evan Prodromou <evan@status.net> | 2009-11-07 19:16:33 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-11-07 19:16:33 -0500 |
commit | eaec5b03f59b0ac5bcde4a973d72946a52cbd2a6 (patch) | |
tree | 6bb84f2c868fed15e39808e275e64c2a061d8cd7 /classes | |
parent | 589185ce872743c146285fca6980db087f96cd4a (diff) |
add constants for user roles
Diffstat (limited to 'classes')
-rw-r--r-- | classes/User_role.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/User_role.php b/classes/User_role.php index 85ecfb422..fc3806897 100644 --- a/classes/User_role.php +++ b/classes/User_role.php @@ -45,4 +45,7 @@ class User_role extends Memcached_DataObject { return Memcached_DataObject::pkeyGet('User_role', $kv); } + + const MODERATOR = 'moderator'; + const ADMINISTRATOR = 'administrator'; } |