summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-29 15:15:04 -0500
committerEvan Prodromou <evan@status.net>2010-01-29 15:15:04 -0500
commitd437b76ed1a7ba3c39f0d3cb8bef15e19c1c184f (patch)
treeecb11b5fd2bc0b386d2631ede7192054d6aab16a /classes
parentf6eecf02fc9eca0d3947a8cacf374909003dc8d4 (diff)
define a constant for the 'owner' role of a site
Diffstat (limited to 'classes')
-rw-r--r--classes/Profile_role.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/Profile_role.php b/classes/Profile_role.php
index 74aca3730..bf2c453ed 100644
--- a/classes/Profile_role.php
+++ b/classes/Profile_role.php
@@ -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';