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:
@@ -55,19 +55,6 @@ class ModLog extends Managed_DataObject
|
||||
public $grant; // 1 = grant, 0 = revoke
|
||||
public $created; // datetime
|
||||
|
||||
/**
|
||||
* Get an instance by compound key
|
||||
*
|
||||
* @param array $kv array of key-value mappings
|
||||
*
|
||||
* @return TagSub object found, or null for no hits
|
||||
*
|
||||
*/
|
||||
function pkeyGet($kv)
|
||||
{
|
||||
return Managed_DataObject::pkeyGet('ModLog', $kv);
|
||||
}
|
||||
|
||||
/**
|
||||
* The One True Thingy that must be defined and declared.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user