add constants for user roles
This commit is contained in:
parent
589185ce87
commit
eaec5b03f5
@ -45,4 +45,7 @@ class User_role extends Memcached_DataObject
|
|||||||
{
|
{
|
||||||
return Memcached_DataObject::pkeyGet('User_role', $kv);
|
return Memcached_DataObject::pkeyGet('User_role', $kv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const MODERATOR = 'moderator';
|
||||||
|
const ADMINISTRATOR = 'administrator';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user