summaryrefslogtreecommitdiff
path: root/classes/Profile_block.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Profile_block.php')
-rw-r--r--classes/Profile_block.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/classes/Profile_block.php b/classes/Profile_block.php
index f80670176..d6a3e7288 100644
--- a/classes/Profile_block.php
+++ b/classes/Profile_block.php
@@ -4,7 +4,7 @@
*/
require_once 'classes/Memcached_DataObject';
-class Profile_block extends Memcached_DataObject
+class Profile_block extends Memcached_DataObject
{
###START_AUTOCODE
/* the code below is auto generated do not remove the above tag */
@@ -19,4 +19,9 @@ class Profile_block extends Memcached_DataObject
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
+
+ static function get($blocker, $blocked) {
+ return Profile_block::pkeyGet(array('blocker' => $blocker,
+ 'blocked' => $blocked));
+ }
}