Call self:: instead of Memcached_DataObject

This commit is contained in:
Mikael Nordfeldth 2013-11-04 17:38:40 +01:00
parent 5176f19f7d
commit 1535ae5e3b

View File

@ -579,7 +579,7 @@ class Memcached_DataObject extends Safe_DataObject
static function cachedQuery($cls, $qry, $expiry=3600) static function cachedQuery($cls, $qry, $expiry=3600)
{ {
$c = Memcached_DataObject::memcache(); $c = self::memcache();
if (!$c) { if (!$c) {
$inst = new $cls(); $inst = new $cls();
$inst->query($qry); $inst->query($qry);