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:
@@ -108,18 +108,6 @@ class User_flag_profile extends Managed_DataObject
|
||||
return array(false, false, false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a single object with multiple keys
|
||||
*
|
||||
* @param array $kv Map of key-value pairs
|
||||
*
|
||||
* @return User_flag_profile found object or null
|
||||
*/
|
||||
function pkeyGet($kv)
|
||||
{
|
||||
return Memcached_DataObject::pkeyGet('User_flag_profile', $kv);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a flag exists for given profile and user
|
||||
*
|
||||
|
Reference in New Issue
Block a user