diff options
Diffstat (limited to 'classes/Profile_block.php')
-rw-r--r-- | classes/Profile_block.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/Profile_block.php b/classes/Profile_block.php index 04b5f2fae..6ea26a3bc 100644 --- a/classes/Profile_block.php +++ b/classes/Profile_block.php @@ -40,4 +40,10 @@ class Profile_block extends Memcached_DataObject /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE + + function get($blocker, $blocked) { + return Memcached_DataObject::pkeyGet('Profile_block', + array('blocker' => $blocker, + 'blocked' => $blocked)); + } } |