]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
make User_group use caching staticGet()
authorEvan Prodromou <evan@status.net>
Thu, 7 Apr 2011 02:48:33 +0000 (22:48 -0400)
committerEvan Prodromou <evan@status.net>
Thu, 7 Apr 2011 02:48:33 +0000 (22:48 -0400)
classes/User_group.php

index f72cc57533db1f8eb3f526b2016b6be0788bfcc9..e993961118e355afc08f9580437b98db26ea99f2 100644 (file)
@@ -31,7 +31,9 @@ class User_group extends Memcached_DataObject
     public $force_scope;                     // tinyint
 
     /* Static get */
-    function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('User_group',$k,$v); }
+    function staticGet($k,$v=NULL) {
+        return Memcached_DataObject::staticGet('User_group',$k,$v);
+    }
 
     /* the code above is auto generated do not remove the tag below */
     ###END_AUTOCODE