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:
@@ -1242,9 +1242,8 @@ class Profile extends Managed_DataObject
|
||||
{
|
||||
// XXX: not really a pkey, but should work
|
||||
|
||||
$notice = Memcached_DataObject::pkeyGet('Notice',
|
||||
array('profile_id' => $this->id,
|
||||
'repeat_of' => $notice_id));
|
||||
$notice = Notice::pkeyGet(array('profile_id' => $this->id,
|
||||
'repeat_of' => $notice_id));
|
||||
|
||||
return !empty($notice);
|
||||
}
|
||||
|
Reference in New Issue
Block a user