mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
refactoring - remove unused code
This commit is contained in:
@ -3,7 +3,6 @@
|
||||
namespace App\ServerTypes;
|
||||
|
||||
use App\Contracts\ServerType;
|
||||
use App\Events\Broadcast;
|
||||
use App\Models\Server;
|
||||
use Closure;
|
||||
|
||||
@ -22,11 +21,6 @@ protected function progress(int $percentage, ?string $step = null): Closure
|
||||
$this->server->progress = $percentage;
|
||||
$this->server->progress_step = $step;
|
||||
$this->server->save();
|
||||
event(new Broadcast('server-installation-progress', [
|
||||
'server' => $this->server,
|
||||
'step' => $step,
|
||||
'percentage' => $percentage,
|
||||
]));
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user