mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 18:11:47 +02:00
[ticket/14393] Fix updater behaviour
PHPBB3-14393
This commit is contained in:
@@ -183,7 +183,7 @@ class update extends task_base
|
||||
);
|
||||
}
|
||||
|
||||
$this->iohandler->finish_progress('INLINE_UPDATE_SUCCESSFUL');
|
||||
$this->iohandler->set_progress('INLINE_UPDATE_SUCCESSFUL', $migration_count);
|
||||
|
||||
$this->iohandler->add_success_message('INLINE_UPDATE_SUCCESSFUL');
|
||||
|
||||
|
@@ -166,6 +166,7 @@ class file_check extends task_base
|
||||
}
|
||||
|
||||
$this->installer_config->set('update_files', $file_update_info);
|
||||
$this->installer_config->set('update_info', array());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -140,10 +140,14 @@ class show_file_status extends task_base
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->file_updater->close();
|
||||
$conflict_archive_path = $this->installer_config->get('update_file_conflict_archive', null);
|
||||
|
||||
// Remove archive
|
||||
$this->filesystem->remove(
|
||||
$this->installer_config->get('update_file_conflict_archive', null)
|
||||
);
|
||||
if ($conflict_archive_path !== null && $this->filesystem->exists($conflict_archive_path))
|
||||
{
|
||||
$this->filesystem->remove($conflict_archive_path);
|
||||
}
|
||||
|
||||
$this->installer_config->set('update_file_conflict_archive', null);
|
||||
}
|
||||
|
Reference in New Issue
Block a user