Merge branch '3.2.x'

This commit is contained in:
Marc Alexander 2018-09-17 21:10:46 +02:00
commit fbe3fbeb75
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -122,8 +122,11 @@ 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))
{ {
$this->iohandler->add_warning_message('UPDATE_FILES_NOT_FOUND'); if ($this->iohandler->get_input('update_type', 'all') === 'all')
$this->set_test_passed(false); {
$this->iohandler->add_warning_message('UPDATE_FILES_NOT_FOUND');
$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...