mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-13 13:16:36 +02:00
[ticket/14097] Remove auto refresh on install failure
PHPBB3-14097
This commit is contained in:
@ -212,7 +212,6 @@ class installer
|
|||||||
}
|
}
|
||||||
catch (\Exception $e)
|
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->add_error_message($e->getMessage());
|
||||||
$this->iohandler->send_response();
|
$this->iohandler->send_response();
|
||||||
$fail_cleanup = true;
|
$fail_cleanup = true;
|
||||||
@ -223,7 +222,7 @@ class installer
|
|||||||
// Send install finished message
|
// Send install finished message
|
||||||
$this->iohandler->set_progress('INSTALLER_FINISHED', $this->install_config->get_task_progress_count());
|
$this->iohandler->set_progress('INSTALLER_FINISHED', $this->install_config->get_task_progress_count());
|
||||||
}
|
}
|
||||||
else
|
else if (!$fail_cleanup)
|
||||||
{
|
{
|
||||||
$this->iohandler->request_refresh();
|
$this->iohandler->request_refresh();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user