X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FInvitation.php;h=8a36fd8df1678418760efe419461f938a07fa4ce;hb=d6869cde7ba7e577d54f0c6ecab3599dc85f0f67;hp=7480acebe4abdbb4ea0fa6b5abc9b7fee9b94e0c;hpb=ba0dd0a4c3339c88a0d2be88c70759e9aec717db;p=quix0rs-gnu-social.git diff --git a/classes/Invitation.php b/classes/Invitation.php index 7480acebe4..8a36fd8df1 100644 --- a/classes/Invitation.php +++ b/classes/Invitation.php @@ -2,9 +2,9 @@ /** * Table Definition for invitation */ -require_once 'DB/DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; -class Invitation extends DB_DataObject +class Invitation extends Memcached_DataObject { ###START_AUTOCODE /* the code below is auto generated do not remove the above tag */ @@ -14,9 +14,11 @@ class Invitation extends DB_DataObject public $user_id; // int(4) not_null public $address; // varchar(255) multiple_key not_null public $address_type; // varchar(8) multiple_key not_null + public $created; // datetime() not_null /* Static get */ - function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Invitation',$k,$v); } + function staticGet($k,$v=null) + { return Memcached_DataObject::staticGet('Invitation',$k,$v); } /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE