X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FLogin_token.php;h=599f21475ac2f133b950b08377ad7533e977ab3c;hb=858d9cc3c421a8fc900040ce13a575b09e482fc0;hp=7049c7c7fee651c94e510711d284aac325ca9e5d;hpb=01c2c31c1e701f6946282dfcc23502464483d12d;p=quix0rs-gnu-social.git diff --git a/classes/Login_token.php b/classes/Login_token.php index 7049c7c7fe..599f21475a 100644 --- a/classes/Login_token.php +++ b/classes/Login_token.php @@ -34,9 +34,6 @@ class Login_token extends Managed_DataObject public $created; // datetime() not_null public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP - /* Static get */ - function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Login_token',$k,$v); } - /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE @@ -60,7 +57,7 @@ class Login_token extends Managed_DataObject function makeNew($user) { - $login_token = Login_token::staticGet('user_id', $user->id); + $login_token = Login_token::getKV('user_id', $user->id); if (!empty($login_token)) { $login_token->delete();