Skip to content

Instantly share code, notes, and snippets.

@AurelienLavorel
Last active June 19, 2020 16:01
Show Gist options
  • Save AurelienLavorel/9a54f4cba2411f9926c79e7e22d50eb8 to your computer and use it in GitHub Desktop.
Save AurelienLavorel/9a54f4cba2411f9926c79e7e22d50eb8 to your computer and use it in GitHub Desktop.
Avoid amasty labels update to make it work on PlatformSH
diff --git a/vendor/amasty/label/Setup/UpgradeSchema.php b/vendor/amasty/label/Setup/UpgradeSchema.php
index f1d749a..2504a2d 100644
--- a/vendor/amasty/label/Setup/UpgradeSchema.php
+++ b/vendor/amasty/label/Setup/UpgradeSchema.php
@@ -81,10 +81,10 @@ class UpgradeSchema implements UpgradeSchemaInterface
if (version_compare($context->getVersion(), '1.6.0', '<')) {
$this->createIndexTable($setup);
}
- if (version_compare($context->getVersion(), '1.7.0', '<')) {
+ /*if (version_compare($context->getVersion(), '1.7.0', '<')) {
$pubPath = __DIR__.'/../pub';
$this->pubDeployer->deployFolder($pubPath);
- }
+ }*/
$setup->endSetup();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment