From 2a124c1397d92ab4b50627144a54d33c1695d691 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 6 Apr 2011 22:48:33 -0400 Subject: [PATCH] make User_group use caching staticGet() --- classes/User_group.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5