From: Evan Prodromou Date: Thu, 7 Apr 2011 02:48:33 +0000 (-0400) Subject: make User_group use caching staticGet() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2a124c1397d92ab4b50627144a54d33c1695d691;p=quix0rs-gnu-social.git make User_group use caching staticGet() --- diff --git a/classes/User_group.php b/classes/User_group.php index f72cc57533..e993961118 100644 --- a/classes/User_group.php +++ b/classes/User_group.php @@ -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