mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 12:28:52 +00:00
[ticket/14097] Remove auto refresh on install failure
PHPBB3-14097
This commit is contained in:
parent
f4f0ff0eec
commit
dd1b777ca7
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue