diff options
author | Evan Prodromou <evan@status.net> | 2010-09-22 10:35:27 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-09-22 10:35:27 -0400 |
commit | f0105893b0b78ff88d08cc2417773ad8a44dc2fa (patch) | |
tree | 911093211ee0f624d9593b9c02e817d2d06abd82 /classes | |
parent | 78ed0348b0eaaebf7a51d55adc7e746cc5b43bbf (diff) | |
parent | 8d019c03ee7a2a3a25bfb3f2afa25951eac06428 (diff) |
Merge remote branch 'gitorious/0.9.x' into 0.9.x
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Status_network.php | 5 |
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; } |