Skip to content

Instantly share code, notes, and snippets.

View kassner's full-sized avatar

Rafael Kassner kassner

View GitHub Profile
--- vendor/magento/module-catalog/Cron/RefreshSpecialPrices.php
+++ vendor/magento/module-catalog/Cron/RefreshSpecialPrices.php
@@ -164,7 +164,7 @@
$attrConditionValue
);
- $selectData = $connection->fetchCol($select, $identifierField);
+ $selectData = $connection->fetchCol($select);
if (!empty($selectData)) {
--- setup/src/Magento/Setup/Model/Installer.php
+++ setup/src/Magento/Setup/Model/Installer.php
@@ -1195,9 +1195,9 @@
$this->cleanCaches();
if (!$keepGeneratedFiles) {
$this->cleanupGeneratedFiles();
+ $this->log->log('Updating modules:');
+ $this->createModulesConfig([]);
}
- $this->log->log('Updating modules:');
--- vendor/magento/module-config/Model/Config/Importer.php
+++ vendor/magento/module-config/Model/Config/Importer.php
@@ -74,6 +74,8 @@
*/
private $saveProcessor;
+ private $eventConfig;
+
/**
* @param FlagManager $flagManager The flag manager