mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
fbe3fbeb75
1 changed files with 5 additions and 2 deletions
|
@ -121,9 +121,12 @@ class check_update extends task_base
|
||||||
|
|
||||||
// Check for a valid update directory
|
// Check for a valid update directory
|
||||||
if (!$this->filesystem->exists($update_files) || !$this->filesystem->is_readable($update_files))
|
if (!$this->filesystem->exists($update_files) || !$this->filesystem->is_readable($update_files))
|
||||||
|
{
|
||||||
|
if ($this->iohandler->get_input('update_type', 'all') === 'all')
|
||||||
{
|
{
|
||||||
$this->iohandler->add_warning_message('UPDATE_FILES_NOT_FOUND');
|
$this->iohandler->add_warning_message('UPDATE_FILES_NOT_FOUND');
|
||||||
$this->set_test_passed(false);
|
$this->set_test_passed(false);
|
||||||
|
}
|
||||||
|
|
||||||
// If there are no update files, we can't check the version etc
|
// If there are no update files, we can't check the version etc
|
||||||
// However, we can let the users run migrations if they really want to...
|
// However, we can let the users run migrations if they really want to...
|
||||||
|
|
Loading…
Add table
Reference in a new issue