From 96bcfa49816c3b99e518d233b6c114d0965b3439 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 22 Jan 2009 20:51:05 +0000 Subject: Was accidentally not saving cached items (doh!) --- classes/Memcached_DataObject.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/classes/Memcached_DataObject.php b/classes/Memcached_DataObject.php index 97e1ed736..5f71f716b 100644 --- a/classes/Memcached_DataObject.php +++ b/classes/Memcached_DataObject.php @@ -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); -- cgit v1.2.3-54-g00ecf