Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 6fe6280

Browse files
[2.3-develop] Forwardport of magento/magento2#11052
1 parent 490785f commit 6fe6280

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup/src/Magento/Setup/Console/Command/RollbackCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ public function __construct(
7474
$this->objectManager = $objectManagerProvider->get();
7575
$this->backupRollbackFactory = $this->objectManager->get(\Magento\Framework\Setup\BackupRollbackFactory::class);
7676
$this->deploymentConfig = $deploymentConfig;
77+
$this->maintenanceModeEnabler =
78+
$maintenanceModeEnabler ?: $this->objectManager->get(MaintenanceModeEnabler::class);
7779
parent::__construct();
7880
}
7981

0 commit comments

Comments
 (0)