From eaec5b03f59b0ac5bcde4a973d72946a52cbd2a6 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 7 Nov 2009 19:16:33 -0500 Subject: [PATCH] add constants for user roles --- classes/User_role.php | 3 +++ 1 file changed, 3 insertions(+) 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'; }