aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_forums.php
diff options
context:
space:
mode:
authorCallum Macrae <callum@lynxphp.com>2011-08-24 12:25:54 +0100
committerIgor Wiedler <igor@wiedler.ch>2012-03-31 02:09:14 +0200
commit7a933bdb5ad4a9bc4877a7d4d516fa0b21d9e4c0 (patch)
tree67de4f7f19dbde414388b731fb64751fb0092fe3 /phpBB/includes/acp/acp_forums.php
parentc92b30d66cbb2839369c04172eb5ae9bacd27a16 (diff)
downloadforums-7a933bdb5ad4a9bc4877a7d4d516fa0b21d9e4c0.tar
forums-7a933bdb5ad4a9bc4877a7d4d516fa0b21d9e4c0.tar.gz
forums-7a933bdb5ad4a9bc4877a7d4d516fa0b21d9e4c0.tar.bz2
forums-7a933bdb5ad4a9bc4877a7d4d516fa0b21d9e4c0.tar.xz
forums-7a933bdb5ad4a9bc4877a7d4d516fa0b21d9e4c0.zip
[ticket/10328] Renamed the JSON class, also now using autoloading.
It is no longer static, and uses autoloading. It has also been renamed from JSON to phpbb_json_response. PHPBB3-10328
Diffstat (limited to 'phpBB/includes/acp/acp_forums.php')
-rw-r--r--phpBB/includes/acp/acp_forums.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_forums.php b/phpBB/includes/acp/acp_forums.php
index 6c05b1e108..3a3b2021eb 100644
--- a/phpBB/includes/acp/acp_forums.php
+++ b/phpBB/includes/acp/acp_forums.php
@@ -258,7 +258,8 @@ class acp_forums
if ($request->is_ajax())
{
- JSON::send(array('success' => ($move_forum_name !== false)));
+ $json_response = new phpbb_json_response;
+ $json_response->send(array('success' => ($move_forum_name !== false)));
}
break;