diff --git a/app/Http/Controllers/PreviewController.php b/app/Http/Controllers/PreviewController.php index b114461a45eb..e1ff919a1578 100644 --- a/app/Http/Controllers/PreviewController.php +++ b/app/Http/Controllers/PreviewController.php @@ -173,8 +173,6 @@ class PreviewController extends BaseController MultiDB::setDb($company->db); - info("preview db = ".$company->db); - if($request->input('entity') == 'invoice'){ $repo = new InvoiceRepository(); $entity_obj = InvoiceFactory::create($company->id, auth()->user()->id); diff --git a/app/Http/Middleware/QueryLogging.php b/app/Http/Middleware/QueryLogging.php index 545246b44f8e..be61d3d4476b 100644 --- a/app/Http/Middleware/QueryLogging.php +++ b/app/Http/Middleware/QueryLogging.php @@ -54,9 +54,7 @@ class QueryLogging // if($count > 150) // nlog($queries); - - info(print_r($queries,1)); - + $ip = ''; if(request()->header('Cf-Connecting-Ip'))