]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add constants for user roles
authorEvan Prodromou <evan@status.net>
Sun, 8 Nov 2009 00:16:33 +0000 (19:16 -0500)
committerEvan Prodromou <evan@status.net>
Sun, 8 Nov 2009 00:16:33 +0000 (19:16 -0500)
classes/User_role.php

index 85ecfb422dbe5547b17e05ffb373d774d875f31f..fc3806897f42912c8c58ad182aac17ec546b76fb 100644 (file)
@@ -45,4 +45,7 @@ class User_role extends Memcached_DataObject
     {
         return Memcached_DataObject::pkeyGet('User_role', $kv);
     }
+
+    const MODERATOR     = 'moderator';
+    const ADMINISTRATOR = 'administrator';
 }