Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy v4.5.1 of the autoupgrade module #197

Merged
merged 3 commits into from
Dec 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion autoupgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function __construct()
$this->name = 'autoupgrade';
$this->tab = 'administration';
$this->author = 'PrestaShop';
$this->version = '4.5.0';
$this->version = '4.5.1';
$this->need_instance = 1;

$this->bootstrap = true;
Expand Down
2 changes: 0 additions & 2 deletions classes/TaskRunner/Upgrade/UpgradeComplete.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ public function run()
$this->logger->debug('<strong>' . $this->translator->trans('Please remove %s by FTP', array($this->container->getProperty(UpgradeContainer::LATEST_PATH)), 'Modules.Autoupgrade.Admin') . '</strong>');
}

$this->container->getSymfonyAdapter()->clearMigrationCache();

// Reinit config
Configuration::deleteByName('PS_AUTOUP_IGNORE_REQS');
}
Expand Down
1 change: 1 addition & 0 deletions classes/TaskRunner/Upgrade/UpgradeDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public function run()
$this->next = 'upgradeModules';
$this->logger->info($this->translator->trans('Database upgraded. Now upgrading your Addons modules...', array(), 'Modules.Autoupgrade.Admin'));

$this->container->getSymfonyAdapter()->clearMigrationCache();
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<module>
<name>autoupgrade</name>
<displayName><![CDATA[1-Click Upgrade]]></displayName>
<version><![CDATA[4.5.0]]></version>
<version><![CDATA[4.5.1]]></version>
<description><![CDATA[Provides an automated method to upgrade your shop to the latest version of PrestaShop.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[administration]]></tab>
Expand Down