From 1506323ff7a53110302fffdb2a874eb82d8f404c Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 5 Aug 2022 11:28:29 +1000 Subject: [PATCH] Merge v5 --- app/Http/Middleware/QueryLogging.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Middleware/QueryLogging.php b/app/Http/Middleware/QueryLogging.php index b8ed33bc94..6487821cca 100644 --- a/app/Http/Middleware/QueryLogging.php +++ b/app/Http/Middleware/QueryLogging.php @@ -35,9 +35,9 @@ class QueryLogging { // Enable query logging for development - // if (! Ninja::isHosted() || ! config('beacon.enabled')) { - // return $next($request); - // } + if (! Ninja::isHosted() || ! config('beacon.enabled')) { + return $next($request); + } $timeStart = microtime(true); DB::enableQueryLog();