Commented out noisy debugging

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-10-14 20:43:18 +01:00 committed by Brady Wetherington
parent 3f6554ee34
commit 82c2a46ada

View file

@ -39,11 +39,11 @@ class SettingsServiceProvider extends ServiceProvider
$limit = abs($int_limit); $limit = abs($int_limit);
} }
\Log::debug('Max in env: '.config('app.max_results')); // \Log::debug('Max in env: '.config('app.max_results'));
\Log::debug('Original requested limit: '.request('limit')); // \Log::debug('Original requested limit: '.request('limit'));
\Log::debug('Int limit: '.$int_limit); // \Log::debug('Int limit: '.$int_limit);
\Log::debug('Modified limit: '.$limit); // \Log::debug('Modified limit: '.$limit);
\Log::debug('------------------------------'); // \Log::debug('------------------------------');
return $limit; return $limit;
@ -52,9 +52,9 @@ class SettingsServiceProvider extends ServiceProvider
// Make sure the offset is actually set and is an integer // Make sure the offset is actually set and is an integer
\App::singleton('api_offset_value', function () { \App::singleton('api_offset_value', function () {
$offset = intval(request('offset')); $offset = intval(request('offset'));
\Log::debug('Original requested offset: '.request('offset')); // \Log::debug('Original requested offset: '.request('offset'));
\Log::debug('Modified offset: '.$offset); // \Log::debug('Modified offset: '.$offset);
\Log::debug('------------------------------'); // \Log::debug('------------------------------');
return $offset; return $offset;