]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Profile.php
pkeyGet is now static and more similar to getKV
[quix0rs-gnu-social.git] / classes / Profile.php
index bee05981d2b705d3c1c94dd257f9a4cd84058a29..bd7976590f253dc6b84c237f109fb72bd6205ec4 100644 (file)
@@ -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);
     }