Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW UI] clean old UI #1119

Merged
merged 11 commits into from
Jan 22, 2025
3 changes: 3 additions & 0 deletions classes/Commands/AbstractCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ protected function setupEnvironment(InputInterface $input, OutputInterface $outp
$this->upgradeContainer->setLogger($this->logger);
(new ErrorHandler($this->logger))->enable();
$this->logger->debug('Error handler enabled.');

$moduleDir = $this->upgradeContainer->getProperty(UpgradeContainer::WORKSPACE_PATH);
$this->upgradeContainer->getWorkspace()->init($moduleDir);
}

/**
Expand Down
72 changes: 0 additions & 72 deletions classes/Task/Miscellaneous/CompareReleases.php

This file was deleted.

1 change: 0 additions & 1 deletion classes/Task/Runner/ChainedTasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ private function setupLogging(): void
$initializationSteps = [TaskName::TASK_BACKUP_INITIALIZATION, TaskName::TASK_UPDATE_INITIALIZATION, TaskName::TASK_RESTORE_INITIALIZATION];

if (in_array($this->step, $initializationSteps)) {
$this->container->getWorkspace()->createFolders();
$timestamp = date('Y-m-d-His');
switch ($this->step) {
case TaskName::TASK_BACKUP_INITIALIZATION:
Expand Down
1 change: 0 additions & 1 deletion classes/Task/TaskName.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,5 @@ class TaskName
const TASK_UNZIP = 'Unzip';

// MISC
const TASK_COMPARE_RELEASES = 'CompareReleases';
const TASK_UPDATE_CONFIG = 'UpdateConfig';
}
68 changes: 0 additions & 68 deletions classes/Twig/Block/RollbackForm.php

This file was deleted.

174 changes: 0 additions & 174 deletions classes/Twig/Block/UpgradeButtonBlock.php

This file was deleted.

Loading
Loading