mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-08 01:12:34 +00:00
refactoring - remove unused code
This commit is contained in:
@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Jobs\PHP;
|
||||
|
||||
use App\Events\Broadcast;
|
||||
use App\Exceptions\ProcessFailed;
|
||||
use App\Jobs\Job;
|
||||
use App\Models\Service;
|
||||
@ -40,19 +39,9 @@ public function handle(): void
|
||||
$typeData['extensions'][] = $this->name;
|
||||
$this->service->type_data = $typeData;
|
||||
$this->service->save();
|
||||
event(
|
||||
new Broadcast('install-php-extension-finished', [
|
||||
'service' => $this->service,
|
||||
])
|
||||
);
|
||||
}
|
||||
|
||||
public function failed(): void
|
||||
{
|
||||
event(
|
||||
new Broadcast('install-php-extension-failed', [
|
||||
'service' => $this->service,
|
||||
])
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user