]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Foreign_service.php
fix scope for replies to group-private notices
[quix0rs-gnu-social.git] / classes / Foreign_service.php
index ec38c54171cdfd2295a159f5c3c5ab8b7548ba71..dd74fd2ca6c34176f72228bc06c62ab888aaa1fe 100644 (file)
@@ -2,9 +2,9 @@
 /**
  * Table Definition for foreign_service
  */
-require_once 'DB/DataObject.php';
+require_once INSTALLDIR.'/classes/Memcached_DataObject.php';
 
-class Foreign_service extends DB_DataObject 
+class Foreign_service extends Memcached_DataObject
 {
     ###START_AUTOCODE
     /* the code below is auto generated do not remove the above tag */
@@ -12,12 +12,13 @@ class Foreign_service extends DB_DataObject
     public $__table = 'foreign_service';                 // table name
     public $id;                              // int(4)  primary_key not_null
     public $name;                            // varchar(32)  unique_key not_null
-    public $description;                     // varchar(255)  
+    public $description;                     // varchar(255)
     public $created;                         // datetime()   not_null
     public $modified;                        // timestamp()   not_null default_CURRENT_TIMESTAMP
 
     /* Static get */
-    function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Foreign_service',$k,$v); }
+    function staticGet($k,$v=null)
+    { return Memcached_DataObject::staticGet('Foreign_service',$k,$v); }
 
     /* the code above is auto generated do not remove the tag below */
     ###END_AUTOCODE