You've already forked Atomcms-edit
Remove all auto-update functionality (commands, services, widgets, blades, translations)
This commit is contained in:
@@ -4,7 +4,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace App\Actions\Commandocentrum;
|
||||
|
||||
use App\Services\EmulatorUpdateService;
|
||||
use App\Services\RconService;
|
||||
use App\Services\SettingsService;
|
||||
use Illuminate\Support\Facades\Process;
|
||||
@@ -13,7 +12,6 @@ class EmulatorControlAction
|
||||
{
|
||||
public function __construct(
|
||||
private readonly SettingsService $settings,
|
||||
private readonly EmulatorUpdateService $updateService,
|
||||
) {}
|
||||
|
||||
public function start(): array
|
||||
@@ -59,29 +57,4 @@ class EmulatorControlAction
|
||||
|
||||
return ['success' => true, 'message' => 'Alert verstuurd naar alle gebruikers!'];
|
||||
}
|
||||
|
||||
public function build(): array
|
||||
{
|
||||
return $this->updateService->buildFromSource();
|
||||
}
|
||||
|
||||
public function update(): array
|
||||
{
|
||||
return $this->updateService->updateEmulator();
|
||||
}
|
||||
|
||||
public function runSqlUpdates(): array
|
||||
{
|
||||
return $this->updateService->runSqlUpdates();
|
||||
}
|
||||
|
||||
public function getBackups(): array
|
||||
{
|
||||
return $this->updateService->getBackupList();
|
||||
}
|
||||
|
||||
public function restoreBackup(string $backupName): array
|
||||
{
|
||||
return $this->updateService->restoreBackup($backupName);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user