X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FToken.php;h=a129d1fd110747aa945ed1f8a816f34242d40eb1;hb=9c7b66984c46668f314f93337d28c62854b6d134;hp=d180ecebebac2430d8d1b96239a67a32ac09bc7c;hpb=8da61dc1d36e2ac600a50450038ce69d458b0e7b;p=quix0rs-gnu-social.git diff --git a/classes/Token.php b/classes/Token.php index d180ecebeb..a129d1fd11 100644 --- a/classes/Token.php +++ b/classes/Token.php @@ -4,7 +4,7 @@ */ require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; -class Token extends Memcached_DataObject +class Token extends Memcached_DataObject { ###START_AUTOCODE /* the code below is auto generated do not remove the above tag */ @@ -14,12 +14,15 @@ class Token extends Memcached_DataObject public $tok; // char(32) primary_key not_null public $secret; // char(32) not_null public $type; // tinyint(1) not_null - public $state; // tinyint(1) + public $state; // tinyint(1) + public $verifier; // varchar(255) + public $verified_callback; // varchar(255) public $created; // datetime() not_null public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP /* Static get */ - function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Token',$k,$v); } + function staticGet($k,$v=null) + { return Memcached_DataObject::staticGet('Token',$k,$v); } /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE