From 444959a789e5bc122b177cb970ca4006c07c1eee Mon Sep 17 00:00:00 2001 From: James Walker Date: Fri, 17 Sep 2010 16:33:02 -0400 Subject: [PATCH] Status_network::encache() doesn't exist --- classes/Status_network.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/classes/Status_network.php b/classes/Status_network.php index c4f37ce1c6..70c7a58eb7 100644 --- a/classes/Status_network.php +++ b/classes/Status_network.php @@ -167,9 +167,8 @@ class Status_network extends Safe_DataObject ' WHERE nickname = ' . $this->_quote($this->nickname); $orig->decache(); $result = $this->query($qry); - if ($result) { - $this->encache(); - } + $this->decache(); + return $result; }