add constants for user roles

This commit is contained in:
Evan Prodromou 2009-11-07 19:16:33 -05:00
parent 589185ce87
commit eaec5b03f5

View File

@ -45,4 +45,7 @@ class User_role extends Memcached_DataObject
{
return Memcached_DataObject::pkeyGet('User_role', $kv);
}
const MODERATOR = 'moderator';
const ADMINISTRATOR = 'administrator';
}