X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FInvitation.php;h=0e87c1629cb9881b841c533eed88fce3df3dd521;hb=e0e7cb7c5376a7adfdcf8e0724aedfae3de471ef;hp=cc3c3b93706e927e2345dc6371d1fc110e67357b;hpb=3d48ae94e61626b0a4d0c474ca1ff1fb355346d4;p=quix0rs-gnu-social.git diff --git a/classes/Invitation.php b/classes/Invitation.php index cc3c3b9370..0e87c1629c 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 */ @@ -17,7 +17,8 @@ class Invitation extends DB_DataObject 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