X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FException.php;h=fba857f90d6298949d28128c25f4787419569fb0;hb=bc8f309bdad5f1f8b95fe14d8fd3bb126594c325;hp=dc1208a0d10fe0ecee55a3f011c727d17b0c1d7f;hpb=9e14eae8bc4961ca998683a1b34c215026add11d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Exception.php b/includes/Exception.php index dc1208a0d1..fba857f90d 100644 --- a/includes/Exception.php +++ b/includes/Exception.php @@ -30,7 +30,6 @@ * @ingroup Exception */ class MWException extends Exception { - var $logId; /** * Should the exception use $wgOut to output the error? @@ -127,11 +126,11 @@ class MWException extends Exception { if ( $wgShowExceptionDetails ) { return '

' . nl2br( htmlspecialchars( $this->getMessage() ) ) . - '

Backtrace:

' . nl2br( htmlspecialchars( $this->getTraceAsString() ) ) . + '

Backtrace:

' . nl2br( htmlspecialchars( MWExceptionHandler::formatRedactedTrace( $this ) ) ) . "

\n"; } else { return "
" . - '[' . $this->getLogId() . '] ' . + '[' . MWExceptionHandler::getLogId( $this ) . '] ' . gmdate( 'Y-m-d H:i:s' ) . ": Fatal exception of type " . get_class( $this ) . "
\n" . "