define a constant for the 'owner' role of a site
This commit is contained in:
parent
f6eecf02fc
commit
d437b76ed1
@ -48,6 +48,7 @@ class Profile_role extends Memcached_DataObject
|
|||||||
return Memcached_DataObject::pkeyGet('Profile_role', $kv);
|
return Memcached_DataObject::pkeyGet('Profile_role', $kv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const OWNER = 'owner';
|
||||||
const MODERATOR = 'moderator';
|
const MODERATOR = 'moderator';
|
||||||
const ADMINISTRATOR = 'administrator';
|
const ADMINISTRATOR = 'administrator';
|
||||||
const SANDBOXED = 'sandboxed';
|
const SANDBOXED = 'sandboxed';
|
||||||
|
Loading…
Reference in New Issue
Block a user