aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
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");