Call self:: instead of Memcached_DataObject
This commit is contained in:
parent
5176f19f7d
commit
1535ae5e3b
@ -579,7 +579,7 @@ class Memcached_DataObject extends Safe_DataObject
|
||||
|
||||
static function cachedQuery($cls, $qry, $expiry=3600)
|
||||
{
|
||||
$c = Memcached_DataObject::memcache();
|
||||
$c = self::memcache();
|
||||
if (!$c) {
|
||||
$inst = new $cls();
|
||||
$inst->query($qry);
|
||||
|
Loading…
Reference in New Issue
Block a user