From: Evan Prodromou Date: Fri, 26 Sep 2008 16:19:46 +0000 (-0400) Subject: better handling of staticGet X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ded5e3dd6c23d6ca6a6dd750f1231728f4b6e8df;p=quix0rs-gnu-social.git better handling of staticGet darcs-hash:20080926161946-5ed1f-496b47c72a77fb26610af465af9d9e26c488d315.gz --- diff --git a/classes/Memcached_DataObject.php b/classes/Memcached_DataObject.php index 9115898ff3..2c44b734af 100644 --- a/classes/Memcached_DataObject.php +++ b/classes/Memcached_DataObject.php @@ -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(); }