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