mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Fix recommandation message
This commit is contained in:
@@ -418,9 +418,9 @@ class appbox extends base
|
|||||||
$upgrader->add_steps_complete(1);
|
$upgrader->add_steps_complete(1);
|
||||||
|
|
||||||
if (version_compare($from_version, '3.1') < 0) {
|
if (version_compare($from_version, '3.1') < 0) {
|
||||||
$upgrader->addRecommendation(_('Your install requires data migration, please execute the following command'), 'bin/upgrader --from=3.1');
|
$upgrader->addRecommendation(_('Your install requires data migration, please execute the following command'), 'bin/console system:upgrade-datas --from=3.1');
|
||||||
} elseif (version_compare($from_version, '3.5') < 0) {
|
} elseif (version_compare($from_version, '3.5') < 0) {
|
||||||
$upgrader->addRecommendation(_('Your install requires data migration, please execute the following command'), 'bin/upgrader --from=3.5');
|
$upgrader->addRecommendation(_('Your install requires data migration, please execute the following command'), 'bin/console system:upgrade-datas --from=3.5');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (version_compare($from_version, '3.7') < 0) {
|
if (version_compare($from_version, '3.7') < 0) {
|
||||||
|
Reference in New Issue
Block a user