[ticket/15772] Remove not needed check for IN_INSTALL

PHPBB3-15772
This commit is contained in:
Marc Alexander 2018-09-22 22:20:30 +02:00
parent 4fbf1a5b5c
commit 9929ff1fef
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -639,7 +639,7 @@ class acp_main
}
// Warn if install is still present
if (!defined('IN_INSTALL') && !$phpbb_container->getParameter('allow_install_dir') && file_exists($phpbb_root_path . 'install') && !is_file($phpbb_root_path . 'install'))
if (!$phpbb_container->getParameter('allow_install_dir') && file_exists($phpbb_root_path . 'install') && !is_file($phpbb_root_path . 'install'))
{
$template->assign_var('S_REMOVE_INSTALL', true);
}