Fix bad if/then.

This commit is contained in:
James Cole
2023-12-29 09:16:13 +01:00
parent 0d7fd36c38
commit e594b9304a
6 changed files with 200 additions and 176 deletions

View File

@@ -75,7 +75,6 @@ class AttemptController extends Controller
}
Log::channel('audit')->info(sprintf('User lists webhook attempts of webhook #%d and message #%d.', $webhook->id, $message->id));
$manager = $this->getManager();
$pageSize = $this->parameters->get('limit');
$collection = $this->repository->getAttempts($message);

View File

@@ -96,7 +96,6 @@ class DestroyController extends Controller
Log::channel('audit')->info(sprintf('User destroys webhook #%d, message #%d, attempt #%d.', $webhook->id, $message->id, $attempt->id));
$this->repository->destroyAttempt($attempt);
app('preferences')->mark();