mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
Remove logging
This commit is contained in:
@@ -52,7 +52,7 @@ class Installer
|
|||||||
*/
|
*/
|
||||||
public function handle($request, Closure $next)
|
public function handle($request, Closure $next)
|
||||||
{
|
{
|
||||||
Log::debug(sprintf('Installer middleware for URL %s', $request->url()));
|
//Log::debug(sprintf('Installer middleware for URL %s', $request->url()));
|
||||||
// ignore installer in test environment.
|
// ignore installer in test environment.
|
||||||
if ('testing' === config('app.env')) {
|
if ('testing' === config('app.env')) {
|
||||||
return $next($request);
|
return $next($request);
|
||||||
@@ -61,7 +61,7 @@ class Installer
|
|||||||
$url = $request->url();
|
$url = $request->url();
|
||||||
$strpos = stripos($url, '/install');
|
$strpos = stripos($url, '/install');
|
||||||
if (false !== $strpos) {
|
if (false !== $strpos) {
|
||||||
Log::debug(sprintf('URL is %s, will NOT run installer middleware', $url));
|
//Log::debug(sprintf('URL is %s, will NOT run installer middleware', $url));
|
||||||
|
|
||||||
return $next($request);
|
return $next($request);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user