aboutsummaryrefslogtreecommitdiff
path: root/actions/tasks/comments/add.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/tasks/comments/add.php')
-rw-r--r--actions/tasks/comments/add.php4
1 files changed, 0 insertions, 4 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);