Implement PIREP deletion #1014 (#1055)

* Implement PIREP deletion #1014

* Style fixes

* Add delete button to PIREP listing page

* Remove extra import
This commit is contained in:
Nabeel S
2021-03-02 15:43:34 -05:00
committed by GitHub
parent e22d6d5996
commit 936cd2efd3
16 changed files with 142 additions and 29 deletions

View File

@@ -5,6 +5,7 @@ namespace App\Cron\Nightly;
use App\Contracts\Listener;
use App\Events\CronNightly;
use App\Services\VersionService;
use Illuminate\Support\Facades\Log;
/**
* Determine if any pilots should be set to ON LEAVE status
@@ -28,6 +29,7 @@ class NewVersionCheck extends Listener
*/
public function handle(CronNightly $event): void
{
Log::info('Nightly: Checking for new version');
$this->versionSvc->isNewVersionAvailable();
}
}