diff --git a/phpBB/language/en/install.php b/phpBB/language/en/install.php index 5b8b38f4cc..50ec74f933 100644 --- a/phpBB/language/en/install.php +++ b/phpBB/language/en/install.php @@ -110,8 +110,6 @@ $lang = array_merge($lang, array( 'PHP_GETIMAGESIZE_SUPPORT_EXPLAIN' => 'In order for phpBB to function correctly, the getimagesize function needs to be available.', 'PCRE_UTF_SUPPORT' => 'PCRE UTF-8 support', 'PCRE_UTF_SUPPORT_EXPLAIN' => 'phpBB will not run if your PHP installation is not compiled with UTF-8 support in the PCRE extension.', - 'PHP_JSON_SUPPORT' => 'PHP JSON support', - 'PHP_JSON_SUPPORT_EXPLAIN' => 'In order for phpBB to function correctly, the PHP JSON extension needs to be available.', 'PHP_MBSTRING_SUPPORT' => 'PHP mbstring support', 'PHP_MBSTRING_SUPPORT_EXPLAIN' => 'In order for phpBB to function correctly, the PHP mbstring extension needs to be available.', 'PHP_XML_SUPPORT' => 'PHP XML/DOM support', diff --git a/phpBB/phpbb/install/module/requirements/task/check_server_environment.php b/phpBB/phpbb/install/module/requirements/task/check_server_environment.php index be48cf1967..bb43ed4b2f 100644 --- a/phpBB/phpbb/install/module/requirements/task/check_server_environment.php +++ b/phpBB/phpbb/install/module/requirements/task/check_server_environment.php @@ -68,9 +68,6 @@ class check_server_environment extends \phpbb\install\task_base // Check for PCRE support $this->check_pcre(); - // Check for JSON support - $this->check_json(); - // Check for mbstring support $this->check_mbstring(); @@ -142,22 +139,6 @@ class check_server_environment extends \phpbb\install\task_base $this->set_test_passed(false); } - /** - * Checks whether PHP's JSON extension is available or not - */ - protected function check_json() - { - if (@extension_loaded('json')) - { - $this->set_test_passed(true); - return; - } - - $this->response_helper->add_error_message('PHP_JSON_SUPPORT', 'PHP_JSON_SUPPORT_EXPLAIN'); - - $this->set_test_passed(false); - } - /** * Checks whether PHP's mbstring extension is available or not */