summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-09-21 12:48:16 -0700
committerBrion Vibber <brion@pobox.com>2010-09-21 12:48:16 -0700
commit42dd460d3b9aa9a8ad147d00de9b6c8e209ab4e9 (patch)
treea11a63ee2e6fd349a2ee2b44e89791530b9c16ed /classes
parentd342899677d208d7e300b29ad3a8d053e4c6f704 (diff)
parent1bc45e191d83633e00df9355aaeda3680d42f777 (diff)
Merge branch 'master' into 0.9.x
Diffstat (limited to 'classes')
-rw-r--r--classes/Status_network.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/classes/Status_network.php b/classes/Status_network.php
index c4f37ce1c..70c7a58eb 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;
}