X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FToken.php;h=a129d1fd110747aa945ed1f8a816f34242d40eb1;hb=cb5d6d5c30ab6235283005530fadd0d185b38499;hp=420efa0e3629a8b169066d08b3a1735dbbda7fbe;hpb=f6615f70e5278d22eb29cffb3f2273d19e75b71b;p=quix0rs-gnu-social.git diff --git a/classes/Token.php b/classes/Token.php index 420efa0e36..a129d1fd11 100644 --- a/classes/Token.php +++ b/classes/Token.php @@ -2,9 +2,9 @@ /** * Table Definition for token */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +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