aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-28 02:03:46 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-28 02:03:46 +0000
commit4cfe2dea1cd8e15db2500163bd62476d8cd9bc42 (patch)
treec591b0dc86212feae2068d5027e1a31860dc970d /engine
parent99b44ae2a37208819dbca47db4356601240fbfd0 (diff)
downloadelgg-4cfe2dea1cd8e15db2500163bd62476d8cd9bc42.tar.gz
elgg-4cfe2dea1cd8e15db2500163bd62476d8cd9bc42.tar.bz2
Removed unneeded else.
git-svn-id: http://code.elgg.org/elgg/trunk@9040 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/actions.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/engine/lib/actions.php b/engine/lib/actions.php
index df7c92de4..75f2572cf 100644
--- a/engine/lib/actions.php
+++ b/engine/lib/actions.php
@@ -442,8 +442,6 @@ function ajax_forward_hook($hook, $type, $reason, $params) {
if (isset($system_messages['error'])) {
$params['system_messages']['error'] = $system_messages['error'];
$params['status'] = -1;
- } else {
- $params['status'] = 0;
}
header("Content-type: application/json");