Skip to content

Commit

Permalink
Update code rollback call to pass in the rollback type of filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
dmanners committed Nov 27, 2017
1 parent fd034dc commit 166cd7e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup/src/Magento/Setup/Console/Command/RollbackCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,11 @@ private function doRollback(InputInterface $input, OutputInterface $output, $kee
$inputOptionProvided = false;
$rollbackHandler = $this->backupRollbackFactory->create($output);
if ($input->getOption(self::INPUT_KEY_CODE_BACKUP_FILE)) {
$rollbackHandler->codeRollback($input->getOption(self::INPUT_KEY_CODE_BACKUP_FILE), $keepSourceFile);
$rollbackHandler->codeRollback(
$input->getOption(self::INPUT_KEY_CODE_BACKUP_FILE),
Factory::TYPE_FILESYSTEM,
$keepSourceFile
);
$inputOptionProvided = true;
}
if ($input->getOption(self::INPUT_KEY_MEDIA_BACKUP_FILE)) {
Expand Down

0 comments on commit 166cd7e

Please sign in to comment.