summaryrefslogtreecommitdiff
path: root/classes/Profile_block.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-12-08 23:16:48 -0500
committerEvan Prodromou <evan@controlyourself.ca>2008-12-08 23:16:48 -0500
commit84457969088363e5c3ddd0c88e82a7638392f3c2 (patch)
tree59208abaf8823c804bbb3a97b4f5afc86a5a0ffb /classes/Profile_block.php
parentfacba2566b7695a84cb8bd6b40e9f9b842db6776 (diff)
fix Profile_block::get() again
darcs-hash:20081209041648-5ed1f-fb6ed96047ebfbbe769a11cc3171ce8a5a1440a7.gz
Diffstat (limited to 'classes/Profile_block.php')
-rw-r--r--classes/Profile_block.php6
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));
+ }
}