better handling of staticGet

darcs-hash:20080926161946-5ed1f-496b47c72a77fb26610af465af9d9e26c488d315.gz
This commit is contained in:
Evan Prodromou 2008-09-26 12:19:46 -04:00
parent 8da61dc1d3
commit ded5e3dd6c

View File

@ -28,7 +28,7 @@ class Memcached_DataObject extends DB_DataObject
if (!is_null($i)) { if (!is_null($i)) {
return $i; return $i;
} else { } else {
$i = parent::staticGet($k, $v); $i = DB_DataObject::staticGet($cls, $k, $v);
if (!is_null($i)) { if (!is_null($i)) {
$i->encache(); $i->encache();
} }