]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Was accidentally not saving cached items (doh!)
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 22 Jan 2009 20:51:05 +0000 (20:51 +0000)
committerEvan Prodromou <evan@controlyourself.ca>
Thu, 22 Jan 2009 20:51:05 +0000 (20:51 +0000)
classes/Memcached_DataObject.php

index 97e1ed736e91cbc56befa6725338d2ef565fcd71..5f71f716b3dd569f84ef557420b03517ecc7c2f9 100644 (file)
@@ -218,10 +218,7 @@ class Memcached_DataObject extends DB_DataObject
         }
 
         $inst = new $cls();
-        $result = $inst->query($qry);
-        if (!$result) {
-            return $inst;
-        }
+        $inst->query($qry);
         $cached = array();
         while ($inst->fetch()) {
             $cached[] = clone($inst);