From 0ce5832b6cbed103433664fd9aa08cef2c1fd796 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 24 Sep 2024 17:29:40 +0100 Subject: [PATCH] Removed debugging Signed-off-by: snipe --- app/Http/Controllers/Api/AssetsController.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/Http/Controllers/Api/AssetsController.php b/app/Http/Controllers/Api/AssetsController.php index 882126f665..514f4484c8 100644 --- a/app/Http/Controllers/Api/AssetsController.php +++ b/app/Http/Controllers/Api/AssetsController.php @@ -161,36 +161,28 @@ class AssetsController extends Controller switch ($action) { // Audit (singular) is left over from earlier legacy APIs case 'audits' : - \Log::error('audit/audits'); switch ($upcoming_status) { case 'due': - \Log::error('due'); $assets->DueForAudit($settings); break; case 'overdue': - \Log::error('overdue'); $assets->OverdueForAudit(); break; case 'due-or-overdue': - \Log::error('due-or-overdue'); $assets->DueOrOverdueForAudit($settings); break; } break; case 'checkins': - \Log::error('checkins'); switch ($upcoming_status) { case 'due': - \Log::error('due'); $assets->DueForCheckin($settings); break; case 'overdue': - \Log::error('overdue'); $assets->OverdueForCheckin(); break; case 'due-or-overdue': - \Log::error('due-or-overdue'); $assets->DueOrOverdueForCheckin($settings); break; }