Skip to content

Commit 487b35d

Browse files
committed
MAGETWO-35136: Delete Segments
- fix for enable/disable modules
1 parent 73158ef commit 487b35d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Module/Status.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function setIsEnabled($isEnabled, $modules)
162162
$result[$name] = (int)$currentStatus;
163163
}
164164
}
165-
$this->writer->saveConfig([ConfigFilePool::APP_CONFIG => ['modules' => $result]]);
165+
$this->writer->saveConfig([ConfigFilePool::APP_CONFIG => ['modules' => $result]], true);
166166
$this->cleanup->clearCaches();
167167
$this->cleanup->clearCodeGeneratedFiles();
168168
}

0 commit comments

Comments
 (0)