Skip to content

Commit

Permalink
fix(install): distinguish error messages for sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Feb 2, 2023
1 parent 970f183 commit b798bf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function upgrade(Migration $migration, $args = []): bool {
}
if (!$checkResult) {
$message = sprintf(
__('The database schema is not consistent with the installed Formcreator %s. To see the logs run the command %s', 'formcreator'),
__('The database schema is not consistent with the previous version of Formcreator %s. To see the logs run the command %s', 'formcreator'),
$oldVersion,
'bin/console glpi:plugin:install formcreator -f'
);
Expand Down Expand Up @@ -238,7 +238,7 @@ public function upgrade(Migration $migration, $args = []): bool {
);
if (!$checkResult) {
$message = sprintf(
__('The database schema is not consistent with the installed Formcreator %s. To see the logs enable the plugin and run the command %s', 'formcreator'),
__('The database schema is not consistent with the current version of Formcreator %s. To see the logs enable the plugin and run the command %s', 'formcreator'),
PLUGIN_FORMCREATOR_VERSION,
'bin/console glpi:database:check_schema_integrity -p formcreator'
);
Expand Down

0 comments on commit b798bf2

Please sign in to comment.