]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Profile_block.php
pkeyGet is now static and more similar to getKV
[quix0rs-gnu-social.git] / classes / Profile_block.php
index b2708d564ce82a41cbb493ad6ceea5dba712cfb0..d9b5cbba87445944b6ee83052a7c11b1ef88fada 100644 (file)
@@ -56,8 +56,7 @@ class Profile_block extends Managed_DataObject
 
     function get($blocker, $blocked)
     {
-        return Memcached_DataObject::pkeyGet('Profile_block',
-                                             array('blocker' => $blocker,
-                                                   'blocked' => $blocked));
+        return Profile_block::pkeyGet(array('blocker' => $blocker,
+                                            'blocked' => $blocked));
      }
 }