aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/help/controller
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-02-27 22:58:51 +0100
committerJoas Schilling <nickvergessen@gmx.de>2015-02-27 22:58:51 +0100
commit7e0d54a331ccb569dafeae8b051db5a34e177b5f (patch)
tree388fa8a10c6f2433bf6880862897818a7c91c445 /phpBB/phpbb/help/controller
parent9c6fba558c3c7f650da89febd90a4a4220667d3d (diff)
downloadforums-7e0d54a331ccb569dafeae8b051db5a34e177b5f.tar
forums-7e0d54a331ccb569dafeae8b051db5a34e177b5f.tar.gz
forums-7e0d54a331ccb569dafeae8b051db5a34e177b5f.tar.bz2
forums-7e0d54a331ccb569dafeae8b051db5a34e177b5f.tar.xz
forums-7e0d54a331ccb569dafeae8b051db5a34e177b5f.zip
[ticket/13647] Use the Symfony way for redirecting
PHPBB3-13647
Diffstat (limited to 'phpBB/phpbb/help/controller')
-rw-r--r--phpBB/phpbb/help/controller/help.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/help/controller/help.php b/phpBB/phpbb/help/controller/help.php
index e9594a0563..9cc3b0c8b4 100644
--- a/phpBB/phpbb/help/controller/help.php
+++ b/phpBB/phpbb/help/controller/help.php
@@ -97,7 +97,7 @@ class help
if ($ext_name === '' || $lang_file === '')
{
- throw new http_exception(501, 'FEATURE_NOT_AVAILABLE');
+ throw new http_exception(404, 'Not Found');
}
$this->user->add_lang($lang_file, false, true, $ext_name);