diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-22 20:51:05 +0000 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-22 20:51:05 +0000 |
commit | 96bcfa49816c3b99e518d233b6c114d0965b3439 (patch) | |
tree | abcde771ae09db182a9b25961e8e02b74bbc6341 /classes | |
parent | 4f58dbf55718133eadcb4b18b72a70504b31defa (diff) |
Was accidentally not saving cached items (doh!)
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Memcached_DataObject.php | 5 |
1 files changed, 1 insertions, 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); |