]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
define a constant for the 'owner' role of a site
authorEvan Prodromou <evan@status.net>
Fri, 29 Jan 2010 20:15:04 +0000 (15:15 -0500)
committerEvan Prodromou <evan@status.net>
Fri, 29 Jan 2010 20:15:04 +0000 (15:15 -0500)
classes/Profile_role.php

index 74aca3730501777d5ef9d8afdc8e05b91a90caf4..bf2c453ed0bf719f9cc00d5ff679c5cac1f6d708 100644 (file)
@@ -48,6 +48,7 @@ class Profile_role extends Memcached_DataObject
         return Memcached_DataObject::pkeyGet('Profile_role', $kv);
     }
 
+    const OWNER         = 'owner';
     const MODERATOR     = 'moderator';
     const ADMINISTRATOR = 'administrator';
     const SANDBOXED     = 'sandboxed';