forked from GNUsocial/gnu-social
pkeyGet is now static and more similar to getKV
Memcached_DataObject now defines * pkeyGetClass to avoid collision with Managed_DataObject pkeyGet * getClassKV to avoid collision with Managed_DataObject getKV
This commit is contained in:
@@ -56,8 +56,7 @@ class Profile_block extends Managed_DataObject
|
||||
|
||||
function get($blocker, $blocked)
|
||||
{
|
||||
return Memcached_DataObject::pkeyGet('Profile_block',
|
||||
array('blocker' => $blocker,
|
||||
'blocked' => $blocked));
|
||||
return Profile_block::pkeyGet(array('blocker' => $blocker,
|
||||
'blocked' => $blocked));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user