X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fexception%2FMWException.php;h=16f226c78f75bd777a912e9501c659e21267e5c4;hp=8c1f8dc9683e4ce6f5ca96ff3e5d8693aaab4876;hb=ee56f00ddf0609082f8ae9a4dc3e6e1b6f54ddfd;hpb=c4f2f511423dc92eed74ab7b8f94abd1dfc216f7 diff --git a/includes/exception/MWException.php b/includes/exception/MWException.php index 8c1f8dc968..16f226c78f 100644 --- a/includes/exception/MWException.php +++ b/includes/exception/MWException.php @@ -55,7 +55,7 @@ class MWException extends Exception { global $wgLang; foreach ( $this->getTrace() as $frame ) { - if ( isset( $frame['class'] ) && $frame['class'] === 'LocalisationCache' ) { + if ( isset( $frame['class'] ) && $frame['class'] === LocalisationCache::class ) { return false; } } @@ -102,15 +102,17 @@ class MWException extends Exception { } else { $logId = WebRequest::getRequestId(); $type = static::class; - return "