aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2018-08-09 21:25:59 +0200
committerRubén Calvo <rubencm@gmail.com>2018-08-09 23:45:41 +0200
commitc912e6feaabfb0b39956cde70354106334da0172 (patch)
treed0512d335654252ce87b6608ae823dec87a0834e /phpBB
parent911c46cc61cd64913283509602a2db9e7c86b914 (diff)
downloadforums-c912e6feaabfb0b39956cde70354106334da0172.tar
forums-c912e6feaabfb0b39956cde70354106334da0172.tar.gz
forums-c912e6feaabfb0b39956cde70354106334da0172.tar.bz2
forums-c912e6feaabfb0b39956cde70354106334da0172.tar.xz
forums-c912e6feaabfb0b39956cde70354106334da0172.zip
[ticket/15751] Fix warning when update with CLI
PHPBB3-15751
Diffstat (limited to 'phpBB')
-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...