X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FForeign_subscription.php;h=d508606218f3946bda976c206dc265477aab85d6;hb=0799f48197c67dbbbd1b613f1fc9c66d9250f2ae;hp=b8cbed8ca67060e3df0a669cfbe1c8c493429ed4;hpb=c2a2da69667c2c18e26aabe757bd13ee6283b251;p=quix0rs-gnu-social.git diff --git a/classes/Foreign_subscription.php b/classes/Foreign_subscription.php index b8cbed8ca6..d508606218 100644 --- a/classes/Foreign_subscription.php +++ b/classes/Foreign_subscription.php @@ -2,9 +2,9 @@ /** * Table Definition for foreign_subscription */ -require_once 'DB/DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; -class Foreign_subscription extends DB_DataObject +class Foreign_subscription extends Memcached_DataObject { ###START_AUTOCODE /* the code below is auto generated do not remove the above tag */ @@ -16,7 +16,8 @@ class Foreign_subscription extends DB_DataObject public $created; // datetime() not_null /* Static get */ - function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Foreign_subscription',$k,$v); } + function staticGet($k,$v=null) + { return Memcached_DataObject::staticGet('Foreign_subscription',$k,$v); } /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE