Index: trunk/phase3/includes/Exception.php |
— | — | @@ -92,18 +92,13 @@ |
93 | 93 | } |
94 | 94 | } |
95 | 95 | |
96 | | - /** Print the exception report using text */ |
97 | | - function reportText() { |
98 | | - fwrite( STDERR, $this->getText() ); |
99 | | - } |
100 | | - |
101 | 96 | /* Output a report about the exception and takes care of formatting. |
102 | 97 | * It will be either HTML or plain text based on $wgCommandLineMode. |
103 | 98 | */ |
104 | 99 | function report() { |
105 | 100 | global $wgCommandLineMode; |
106 | 101 | if ( $wgCommandLineMode ) { |
107 | | - $this->reportText(); |
| 102 | + fwrite( STDERR, $this->getText() ); |
108 | 103 | } else { |
109 | 104 | $log = $this->getLogMessage(); |
110 | 105 | if ( $log ) { |