[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) 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();
} }