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,19 +56,6 @@ class RSVP extends Managed_DataObject
|
||||
public $response; // tinyint
|
||||
public $created; // datetime
|
||||
|
||||
/**
|
||||
* Get an instance by compound key
|
||||
*
|
||||
* @param array $kv array of key-value mappings
|
||||
*
|
||||
* @return Bookmark object found, or null for no hits
|
||||
*/
|
||||
|
||||
function pkeyGet($kv)
|
||||
{
|
||||
return Memcached_DataObject::pkeyGet('RSVP', $kv);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the compound profile_id/event_id index to our cache keys
|
||||
* since the DB_DataObject stuff doesn't understand compound keys
|
||||
|
Reference in New Issue
Block a user