X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FFollowEveryone%2FUser_followeveryone_prefs.php;h=e347d492d10eca3b9d775c15739f25b19e5ec40d;hb=e95f77d34c501d345e731ccf6bc722034d155b77;hp=7690fd220aa080853e2e3a83c6e0b000b859fbba;hpb=e62254f8ccec8966ea197a35cba2fb7c18099303;p=quix0rs-gnu-social.git diff --git a/plugins/FollowEveryone/User_followeveryone_prefs.php b/plugins/FollowEveryone/User_followeveryone_prefs.php index 7690fd220a..e347d492d1 100644 --- a/plugins/FollowEveryone/User_followeveryone_prefs.php +++ b/plugins/FollowEveryone/User_followeveryone_prefs.php @@ -52,27 +52,12 @@ require_once INSTALLDIR . '/classes/Memcached_DataObject.php'; * * @see DB_DataObject */ -class User_followeveryone_prefs extends Memcached_DataObject +class User_followeveryone_prefs extends Managed_DataObject { public $__table = 'user_followeveryone_prefs'; // table name public $user_id; // int(4) primary_key not_null public $followeveryone; // tinyint(1) - /** - * Get an instance by key - * - * This is a utility method to get a single instance with a given key value. - * - * @param string $k Key to use to lookup (usually 'user_id' for this class) - * @param mixed $v Value to lookup - * - * @return User_followeveryone_prefs object found, or null for no hits - */ - function staticGet($k, $v=null) - { - return Memcached_DataObject::staticGet('User_followeveryone_prefs', $k, $v); - } - /** * return table definition for DB_DataObject *