From: Evan Prodromou Date: Sun, 8 Nov 2009 00:16:33 +0000 (-0500) Subject: add constants for user roles X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eaec5b03f59b0ac5bcde4a973d72946a52cbd2a6;p=quix0rs-gnu-social.git add constants for user roles --- diff --git a/classes/User_role.php b/classes/User_role.php index 85ecfb422d..fc3806897f 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'; }