summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/Memcached_DataObject.php5
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);