We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 1535ae5e authored by mattl's avatar mattl

Call self:: instead of Memcached_DataObject

parent 5176f19f
...@@ -579,7 +579,7 @@ class Memcached_DataObject extends Safe_DataObject ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment