diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-17 12:19:06 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-17 12:19:06 -0300 |
commit | 6d580b0fd4e8e1e43c6631af8d7301fc58868737 (patch) | |
tree | 0a2d88d7129f7548be1d5bfc27ac25b29bb3846e /mod/tasks/actions | |
parent | 00af8cc93d689f61be48390713a6a070b7ed761f (diff) | |
parent | afeec6ff165bc78b713e2fc6305b45bc03374bea (diff) | |
download | elgg-saraveadev.tar.gz elgg-saraveadev.tar.bz2 |
Merge commit 'afeec6ff165bc78b713e2fc6305b45bc03374bea' into saraveadevsaraveadevsaravea
Diffstat (limited to 'mod/tasks/actions')
-rw-r--r-- | mod/tasks/actions/tasks/comments/add.php | 4 | ||||
-rw-r--r-- | mod/tasks/actions/tasks/edit.php | 1 |
2 files changed, 0 insertions, 5 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); diff --git a/mod/tasks/actions/tasks/edit.php b/mod/tasks/actions/tasks/edit.php index a69ddafe9..5596d06a0 100644 --- a/mod/tasks/actions/tasks/edit.php +++ b/mod/tasks/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 { |