]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Profile.php
Memcache returns false on cache miss
[quix0rs-gnu-social.git] / classes / Profile.php
index 5f88caf2c41dea018614fd772b9365ff1d31f57c..1dffbd573f87937dad840781dfb7fb36dbdf93f3 100644 (file)
@@ -22,9 +22,9 @@ if (!defined('LACONICA')) { exit(1); }
 /**
  * Table Definition for profile
  */
-require_once 'DB/DataObject.php';
+require_once INSTALLDIR.'/classes/Memcached_DataObject.php';
 
-class Profile extends DB_DataObject 
+class Profile extends Memcached_DataObject 
 {
     ###START_AUTOCODE
     /* the code below is auto generated do not remove the above tag */
@@ -41,7 +41,7 @@ class Profile extends DB_DataObject
     public $modified;                        // timestamp()   not_null default_CURRENT_TIMESTAMP
 
     /* Static get */
-    function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Profile',$k,$v); }
+    function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Profile',$k,$v); }
 
     /* the code above is auto generated do not remove the tag below */
     ###END_AUTOCODE