forked from GNUsocial/gnu-social
low-level management of blocks
darcs-hash:20081208031008-5ed1f-c96006b5c05fa0e68f9adaacd0518016aedfee2a.gz
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user