forked from GNUsocial/gnu-social
better handling of staticGet
darcs-hash:20080926161946-5ed1f-496b47c72a77fb26610af465af9d9e26c488d315.gz
This commit is contained in:
parent
8da61dc1d3
commit
ded5e3dd6c
@ -28,7 +28,7 @@ class Memcached_DataObject extends DB_DataObject
|
||||
if (!is_null($i)) {
|
||||
return $i;
|
||||
} else {
|
||||
$i = parent::staticGet($k, $v);
|
||||
$i = DB_DataObject::staticGet($cls, $k, $v);
|
||||
if (!is_null($i)) {
|
||||
$i->encache();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user