aboutsummaryrefslogtreecommitdiff
path: root/mod/tasks/actions/tasks/comments/add.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/tasks/actions/tasks/comments/add.php')
-rw-r--r--mod/tasks/actions/tasks/comments/add.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/mod/tasks/actions/tasks/comments/add.php b/mod/tasks/actions/tasks/comments/add.php
index 6221eccbd..0b96d92d8 100644
--- a/mod/tasks/actions/tasks/comments/add.php
+++ b/mod/tasks/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);