MAJ en Thelia 2.3.4
This commit is contained in:
@@ -89,8 +89,7 @@ $files = $update->getLatestVersion();
|
||||
$web = $update->getWebVersion();
|
||||
|
||||
while (1) {
|
||||
|
||||
if ($files != $web) {
|
||||
if ($web !== null && $files != $web) {
|
||||
cliOutput(sprintf(
|
||||
"Thelia server is reporting the current stable release version is %s ",
|
||||
$web
|
||||
@@ -103,11 +102,10 @@ while (1) {
|
||||
$files
|
||||
), 'info');
|
||||
|
||||
if ($files < $web) {
|
||||
|
||||
if ($web !== null && $files < $web) {
|
||||
cliOutput(sprintf(
|
||||
"Your files belongs to version %s, which is not the latest stable release.",
|
||||
$web
|
||||
$files
|
||||
), 'warning');
|
||||
cliOutput(sprintf(
|
||||
"It is recommended to upgrade your files first then run this script again." . PHP_EOL
|
||||
|
||||
Reference in New Issue
Block a user