diff options
author | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 00:59:27 +0200 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 02:10:17 +0200 |
commit | 9b971c9fb17f284cda413eacc6665f5cdf837cbd (patch) | |
tree | 0908d3379a22852b81c32b052a8a557ef5b89ab9 | |
parent | 07826d6679d7edb738024c2e759247e82574a8a3 (diff) | |
download | forums-9b971c9fb17f284cda413eacc6665f5cdf837cbd.tar forums-9b971c9fb17f284cda413eacc6665f5cdf837cbd.tar.gz forums-9b971c9fb17f284cda413eacc6665f5cdf837cbd.tar.bz2 forums-9b971c9fb17f284cda413eacc6665f5cdf837cbd.tar.xz forums-9b971c9fb17f284cda413eacc6665f5cdf837cbd.zip |
[feature/ajax] Replace static call to phpbb_request with OO
PHPBB3-10270
-rw-r--r-- | phpBB/includes/acp/acp_modules.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_modules.php b/phpBB/includes/acp/acp_modules.php index 427a3e1e71..e7cd057361 100644 --- a/phpBB/includes/acp/acp_modules.php +++ b/phpBB/includes/acp/acp_modules.php @@ -375,7 +375,8 @@ class acp_modules { if ($request->is_ajax()) { - phpbb_json_response::send(array( + $json_response = new phpbb_json_response(); + $json_response->send(array( 'MESSAGE_TITLE' => $user->lang('ERROR'), 'MESSAGE_TEXT' => implode('<br />', $errors), )); |