akaunting 3.0 (the last dance)
This commit is contained in:
18
app/Jobs/Auth/DeleteInvitation.php
Normal file
18
app/Jobs/Auth/DeleteInvitation.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Jobs\Auth;
|
||||
|
||||
use App\Abstracts\Job;
|
||||
use App\Interfaces\Job\ShouldDelete;
|
||||
|
||||
class DeleteInvitation extends Job implements ShouldDelete
|
||||
{
|
||||
public function handle(): bool
|
||||
{
|
||||
\DB::transaction(function () {
|
||||
$this->model->delete();
|
||||
});
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user