Skip to content

Commit 5fc2169

Browse files
committed
MAGETWO-80225: Show different message if DB module version is higher than code module #11064
- changed wording of the error
1 parent 626dcc7 commit 5fc2169

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/Module/Plugin/DbStatusValidator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ public function beforeDispatch(FrontController $subject, RequestInterface $reque
5252
if (!$this->cache->load('db_is_up_to_date')) {
5353
list($versionTooLowErrors, $versionTooHighErrors) = array_values($this->getGroupedDbVersionErrors());
5454
if ($versionTooHighErrors) {
55-
$message = 'Please update your modules: ' . "Run \"composer install\" from the Magento root directory.\n"
55+
$message = 'Please update your modules: '
56+
. "Run \"composer install\" from the Magento root directory.\n"
5657
. "The following modules are outdated:\n%1";
5758
throw new LocalizedException(
5859
new Phrase($message, [implode("\n", $this->formatVersionTooHighErrors($versionTooHighErrors))])

0 commit comments

Comments
 (0)