]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Call self:: instead of Memcached_DataObject
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 4 Nov 2013 16:38:40 +0000 (17:38 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 4 Nov 2013 16:38:40 +0000 (17:38 +0100)
classes/Memcached_DataObject.php

index 55eecd807e58ee5d49c08392cdd6412784efa545..445b29e77c053a5e6c35f25c4be9de22ea09669d 100644 (file)
@@ -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);