summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-07 19:16:33 -0500
committerEvan Prodromou <evan@status.net>2009-11-07 19:16:33 -0500
commiteaec5b03f59b0ac5bcde4a973d72946a52cbd2a6 (patch)
tree6bb84f2c868fed15e39808e275e64c2a061d8cd7
parent589185ce872743c146285fca6980db087f96cd4a (diff)
add constants for user roles
-rw-r--r--classes/User_role.php3
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';
}