From: Evan Prodromou Date: Fri, 29 Jan 2010 20:15:04 +0000 (-0500) Subject: define a constant for the 'owner' role of a site X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d437b76ed1a7ba3c39f0d3cb8bef15e19c1c184f;p=quix0rs-gnu-social.git define a constant for the 'owner' role of a site --- diff --git a/classes/Profile_role.php b/classes/Profile_role.php index 74aca37305..bf2c453ed0 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';