lasthourcloud/app/Http/Livewire/ForceUpgrade.php

16 lines
268 B
PHP
Raw Normal View History

2023-04-28 13:08:48 +00:00
<?php
namespace App\Http\Livewire;
2023-05-25 12:23:49 +00:00
use App\Jobs\InstanceAutoUpdateJob;
2023-04-28 13:08:48 +00:00
use Livewire\Component;
class ForceUpgrade extends Component
{
public function upgrade()
{
2023-05-25 12:23:49 +00:00
dispatch(new InstanceAutoUpdateJob());
$this->emit('updateInitiated');
2023-04-28 13:08:48 +00:00
}
}