From: Umherirrender Date: Sun, 30 Sep 2018 15:25:59 +0000 (+0200) Subject: Remove __METHOD__ in ServiceWiring return array X-Git-Tag: 1.34.0-rc.0~3932^2 X-Git-Url: https://git.cyclocoop.org/%20%27.%28%24debut%20%20%20%24par_page%29.%27?a=commitdiff_plain;h=be80ee991e20d476b402d8e36492f989949edb6a;p=lhc%2Fweb%2Fwiklou.git 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 --- 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;