aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/tasks/comments/add.php4
-rw-r--r--actions/tasks/edit.php1
2 files changed, 0 insertions, 5 deletions
diff --git a/actions/tasks/comments/add.php b/actions/tasks/comments/add.php
index 6221eccbd..0b96d92d8 100644
--- a/actions/tasks/comments/add.php
+++ b/actions/tasks/comments/add.php
@@ -161,9 +161,5 @@ if (!in_array($state_action, array('activate', 'deactivate'))) {
add_to_river($river, $action, $user->guid, $entity->guid, "", 0, $annotation);
}
-if ($new_state) {
- echo "{\"new_state\": \"$new_state\"}";
-}
-
// Forward to the page the action occurred on
forward(REFERER);
diff --git a/actions/tasks/edit.php b/actions/tasks/edit.php
index a69ddafe9..5596d06a0 100644
--- a/actions/tasks/edit.php
+++ b/actions/tasks/edit.php
@@ -101,7 +101,6 @@ if ($task->save()) {
$task_json[$v] = $task->$v;
}
$task_json['list_guid'] = $task->list_guid;
- echo json_encode($task_json);
forward($task->getURL());
} else {