Skip to content

Commit

Permalink
Remove upgrade calls into composer.json and parameters.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre RAMBAUD committed Oct 13, 2021
1 parent f1ca465 commit 8f6ae53
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
8 changes: 0 additions & 8 deletions app/config/set_parameters.php
Expand Up @@ -27,14 +27,6 @@
use PrestaShopBundle\Install\Upgrade;

$parametersFilepath = __DIR__ . '/parameters.php';
if (!file_exists($parametersFilepath)) {
// let's check first if there's some old config files which could be migrated
if (Upgrade::migrateSettingsFile() === false) {
// nothing to migrate ? return
return;
}
}

$parameters = require $parametersFilepath;

if (!array_key_exists('parameters', $parameters)) {
Expand Down
3 changes: 0 additions & 3 deletions composer.json
Expand Up @@ -184,9 +184,6 @@
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-update-cmd": [
"PrestaShopBundle\\Install\\Upgrade::migrateSettingsFile"
],
"create-release": "@php tools/build/CreateRelease.php",
"create-test-db": [
"@php ./tests/bin/create-test-db.php"
Expand Down

0 comments on commit 8f6ae53

Please sign in to comment.