Remove warning suppression
There are many valid use cases of the error suppression functions, but this isn't one of those. If there are some undefined indexes somewhere, that's a problem that should be fixed properly instead of warnings being suppressed in one skin. Change-Id: I88dfd3b9d94774686c168766a56afb5186684a61
This commit is contained in:
parent
dd1cb0dfad
commit
7b59eb2ea8
1 changed files with 0 additions and 4 deletions
|
@ -36,9 +36,6 @@ class MonoBookTemplate extends BaseTemplate {
|
|||
* outputs a formatted page.
|
||||
*/
|
||||
public function execute() {
|
||||
// Suppress warnings to prevent notices about missing indexes in $this->data
|
||||
wfSuppressWarnings();
|
||||
|
||||
$this->html( 'headelement' );
|
||||
?><div id="globalWrapper">
|
||||
<div id="column-content">
|
||||
|
@ -206,7 +203,6 @@ class MonoBookTemplate extends BaseTemplate {
|
|||
echo Html::closeElement( 'body' );
|
||||
echo Html::closeElement( 'html' );
|
||||
echo "\n";
|
||||
wfRestoreWarnings();
|
||||
} // end of execute() method
|
||||
|
||||
/*************************************************************************************************/
|
||||
|
|
Loading…
Reference in a new issue