Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
lewislarsen committed Jun 14, 2024
2 parents 70c8df3 + e728e62 commit 20725f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/Livewire/BackupTasks/DeleteBackupTaskLogButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use App\Models\BackupTaskLog;
use Illuminate\Http\RedirectResponse;
use Illuminate\Routing\Redirector;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Redirect;
use Illuminate\View\View;
use Livewire\Component;
Expand All @@ -22,7 +21,7 @@ public function mount(BackupTaskLog $backupTaskLog): void

public function delete(): RedirectResponse|Redirector
{
$this->authorize('forceDelete', $this->backupTaskLog->backupTask);
$this->authorize('forceDelete', $this->backupTaskLog->backupTask);

$this->backupTaskLog->forceDelete();

Expand Down
2 changes: 1 addition & 1 deletion app/Models/BackupTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public function run(): void
}

if ($this->isAnotherTaskRunningOnSameRemoteServer()) {
Log::debug('Another task is running on the same remote server, skipping run for task ' . $this->id . ' for now.');
Log::debug('Another task is running on the same remote server, skipping run for task '.$this->id.' for now.');

return;
}
Expand Down

0 comments on commit 20725f2

Please sign in to comment.