1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-07 08:05:25 +02:00

[ticket/14097] Remove auto refresh on install failure

PHPBB3-14097
This commit is contained in:
Mate Bartus 2015-08-17 20:24:01 +02:00
parent f4f0ff0eec
commit dd1b777ca7

View File

@ -212,7 +212,6 @@ class installer
}
catch (\Exception $e)
{
// Most likely there were a PHP failure, so let's die like a gentleman
$this->iohandler->add_error_message($e->getMessage());
$this->iohandler->send_response();
$fail_cleanup = true;
@ -223,7 +222,7 @@ class installer
// Send install finished message
$this->iohandler->set_progress('INSTALLER_FINISHED', $this->install_config->get_task_progress_count());
}
else
else if (!$fail_cleanup)
{
$this->iohandler->request_refresh();
}