aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/json_response.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/json_response.php')
-rw-r--r--phpBB/phpbb/json_response.php12
1 files changed, 3 insertions, 9 deletions
diff --git a/phpBB/phpbb/json_response.php b/phpBB/phpbb/json_response.php
index 5dd904da09..e17525519a 100644
--- a/phpBB/phpbb/json_response.php
+++ b/phpBB/phpbb/json_response.php
@@ -3,23 +3,17 @@
*
* @package phpBB3
* @copyright (c) 2011 phpBB Group
-* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
-/**
-* @ignore
-*/
-if (!defined('IN_PHPBB'))
-{
- exit;
-}
+namespace phpbb;
/**
* JSON class
* @package phpBB3
*/
-class phpbb_json_response
+class json_response
{
/**
* Send the data to the client and exit the script.