summaryrefslogtreecommitdiff
path: root/program/include/rcmail_output_json.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcmail_output_json.php')
-rw-r--r--program/include/rcmail_output_json.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/program/include/rcmail_output_json.php b/program/include/rcmail_output_json.php
index d0e1eec64..def6ee42c 100644
--- a/program/include/rcmail_output_json.php
+++ b/program/include/rcmail_output_json.php
@@ -227,13 +227,6 @@ class rcmail_output_json extends rcmail_output
if (!empty($this->callbacks))
$response['callbacks'] = $this->callbacks;
- // trigger generic hook where plugins can put additional content to the response
- $hook = $this->app->plugins->exec_hook("render_response", array('response' => $response));
-
- // save some memory
- $response = $hook['response'];
- unset($hook['response']);
-
echo self::json_serialize($response);
}