aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/module
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-09-17 21:10:41 +0200
committerMarc Alexander <admin@m-a-styles.de>2018-09-17 21:10:41 +0200
commit2769ab701a9a1a537454a7490a4aa233b76c70b8 (patch)
tree027dc0d704aa4418efff16a0332d89a943f6282a /phpBB/phpbb/install/module
parent9000936926849bdf82db232361e578ced1748512 (diff)
parentc912e6feaabfb0b39956cde70354106334da0172 (diff)
downloadforums-2769ab701a9a1a537454a7490a4aa233b76c70b8.tar
forums-2769ab701a9a1a537454a7490a4aa233b76c70b8.tar.gz
forums-2769ab701a9a1a537454a7490a4aa233b76c70b8.tar.bz2
forums-2769ab701a9a1a537454a7490a4aa233b76c70b8.tar.xz
forums-2769ab701a9a1a537454a7490a4aa233b76c70b8.zip
Merge pull request #5319 from rubencm/ticket/15751
[ticket/15751] Fix warning when update with CLI
Diffstat (limited to 'phpBB/phpbb/install/module')
-rw-r--r--phpBB/phpbb/install/module/requirements/task/check_update.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/phpBB/phpbb/install/module/requirements/task/check_update.php b/phpBB/phpbb/install/module/requirements/task/check_update.php
index cd66ffc8f9..4eb2c6d75e 100644
--- a/phpBB/phpbb/install/module/requirements/task/check_update.php
+++ b/phpBB/phpbb/install/module/requirements/task/check_update.php
@@ -122,8 +122,11 @@ class check_update extends task_base
// Check for a valid update directory
if (!$this->filesystem->exists($update_files) || !$this->filesystem->is_readable($update_files))
{
- $this->iohandler->add_warning_message('UPDATE_FILES_NOT_FOUND');
- $this->set_test_passed(false);
+ if ($this->iohandler->get_input('update_type', 'all') === 'all')
+ {
+ $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
// However, we can let the users run migrations if they really want to...