From be80ee991e20d476b402d8e36492f989949edb6a Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sun, 30 Sep 2018 17:25:59 +0200 Subject: [PATCH] Remove __METHOD__ in ServiceWiring return array It is in a callback and would provide only {closures}. It is logged to a channel, where the context is known. Change-Id: I15ee43ff9383970fc6d5b5cc45678397d2096604 --- includes/ServiceWiring.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ServiceWiring.php b/includes/ServiceWiring.php index cf2def22cc..dac3de6934 100644 --- a/includes/ServiceWiring.php +++ b/includes/ServiceWiring.php @@ -278,7 +278,7 @@ return [ // Also test DjVu $deja = new DjVuImage( $file ); if ( $deja->isValid() ) { - $logger->info( __METHOD__ . ": detected $file as image/vnd.djvu\n" ); + $logger->info( "Detected $file as image/vnd.djvu\n" ); $mime = 'image/vnd.djvu'; return; -- 2.20.1