X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FToken.php;h=a129d1fd110747aa945ed1f8a816f34242d40eb1;hb=cb5d6d5c30ab6235283005530fadd0d185b38499;hp=cd14fbfffff4b6e74deed3d2e592f51ecc7f9017;hpb=4b656f47dff2bd6eed4dcfad060b8434d052d883;p=quix0rs-gnu-social.git diff --git a/classes/Token.php b/classes/Token.php index cd14fbffff..a129d1fd11 100644 --- a/classes/Token.php +++ b/classes/Token.php @@ -2,9 +2,9 @@ /** * Table Definition for token */ -require_once 'DB/DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; -class Token extends DB_DataObject +class Token extends Memcached_DataObject { ###START_AUTOCODE /* the code below is auto generated do not remove the above tag */ @@ -15,11 +15,14 @@ class Token extends DB_DataObject public $secret; // char(32) not_null public $type; // tinyint(1) not_null 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 DB_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