Skip to content

Commit

Permalink
MAGETWO-80225: Show different message if DB module version is higher …
Browse files Browse the repository at this point in the history
…than code module #11064

- changed wording of the error
  • Loading branch information
vrann committed Sep 28, 2017
1 parent 626dcc7 commit 5fc2169
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ public function beforeDispatch(FrontController $subject, RequestInterface $reque
if (!$this->cache->load('db_is_up_to_date')) {
list($versionTooLowErrors, $versionTooHighErrors) = array_values($this->getGroupedDbVersionErrors());
if ($versionTooHighErrors) {
$message = 'Please update your modules: ' . "Run \"composer install\" from the Magento root directory.\n"
$message = 'Please update your modules: '
. "Run \"composer install\" from the Magento root directory.\n"
. "The following modules are outdated:\n%1";
throw new LocalizedException(
new Phrase($message, [implode("\n", $this->formatVersionTooHighErrors($versionTooHighErrors))])
Expand Down

0 comments on commit 5fc2169

Please sign in to comment.