diff options
author | Evan Prodromou <evan@status.net> | 2009-08-27 11:38:31 -0700 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-08-27 11:38:31 -0700 |
commit | 522008dee570aafcc844bf123d25203c7d9c3ebc (patch) | |
tree | 843eec43287930dbe668ae0631a7afa55eff3e72 /classes/User_role.php | |
parent | 41ee56f770c2bb6fc4540e6452bd47d3241b4acf (diff) |
methods on User to grant, check, and revoke roles
Diffstat (limited to 'classes/User_role.php')
-rw-r--r-- | classes/User_role.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/User_role.php b/classes/User_role.php index 658c92000..85ecfb422 100644 --- a/classes/User_role.php +++ b/classes/User_role.php @@ -40,4 +40,9 @@ class User_role extends Memcached_DataObject /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE + + function &pkeyGet($kv) + { + return Memcached_DataObject::pkeyGet('User_role', $kv); + } } |