Skip to content

Commit b798bf2

Browse files
committed
fix(install): distinguish error messages for sanity check
1 parent 970f183 commit b798bf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/install.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public function upgrade(Migration $migration, $args = []): bool {
159159
}
160160
if (!$checkResult) {
161161
$message = sprintf(
162-
__('The database schema is not consistent with the installed Formcreator %s. To see the logs run the command %s', 'formcreator'),
162+
__('The database schema is not consistent with the previous version of Formcreator %s. To see the logs run the command %s', 'formcreator'),
163163
$oldVersion,
164164
'bin/console glpi:plugin:install formcreator -f'
165165
);
@@ -238,7 +238,7 @@ public function upgrade(Migration $migration, $args = []): bool {
238238
);
239239
if (!$checkResult) {
240240
$message = sprintf(
241-
__('The database schema is not consistent with the installed Formcreator %s. To see the logs enable the plugin and run the command %s', 'formcreator'),
241+
__('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'),
242242
PLUGIN_FORMCREATOR_VERSION,
243243
'bin/console glpi:database:check_schema_integrity -p formcreator'
244244
);

0 commit comments

Comments
 (0)