From 4cfe2dea1cd8e15db2500163bd62476d8cd9bc42 Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 28 Apr 2011 02:03:46 +0000 Subject: Removed unneeded else. git-svn-id: http://code.elgg.org/elgg/trunk@9040 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/actions.php | 2 -- 1 file changed, 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"); -- cgit v1.2.3