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