X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FProfile_block.php;h=551e690e24a57e55c8850fb526be1848e31f4dc8;hb=78f8b91a13ee07ed3344fd6411a0829a16bef4b1;hp=6ea26a3bc46718a8357f33820eac6941d4dd7149;hpb=84457969088363e5c3ddd0c88e82a7638392f3c2;p=quix0rs-gnu-social.git diff --git a/classes/Profile_block.php b/classes/Profile_block.php index 6ea26a3bc4..551e690e24 100644 --- a/classes/Profile_block.php +++ b/classes/Profile_block.php @@ -36,12 +36,14 @@ class Profile_block extends Memcached_DataObject public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP /* Static get */ - function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Profile_block',$k,$v); } + function staticGet($k,$v=null) + { return Memcached_DataObject::staticGet('Profile_block',$k,$v); } /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE - function get($blocker, $blocked) { + function get($blocker, $blocked) + { return Memcached_DataObject::pkeyGet('Profile_block', array('blocker' => $blocker, 'blocked' => $blocked));