forked from GNUsocial/gnu-social
make User_group use caching staticGet()
This commit is contained in:
parent
44c64816a5
commit
2a124c1397
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user