Index: trunk/phase3/skins/Vector.php |
— | — | @@ -366,15 +366,11 @@ |
367 | 367 | * Outputs the entire contents of the XHTML page |
368 | 368 | */ |
369 | 369 | public function execute() { |
370 | | - global $wgRequest, $wgOut, $wgContLang, $wgDevelopmentWarnings; |
| 370 | + global $wgRequest, $wgOut, $wgContLang; |
371 | 371 | |
372 | 372 | $this->skin = $this->data['skin']; |
373 | 373 | $action = $wgRequest->getText( 'action' ); |
374 | 374 | |
375 | | - // Suppress warnings to prevent notices about missing indexes in |
376 | | - // $this->data (is this really the best way to handle this?) |
377 | | - $wgDevelopmentWarnings && wfSuppressWarnings(); |
378 | | - |
379 | 375 | // Build additional attributes for navigation urls |
380 | 376 | $nav = $this->skin->buildNavigationUrls(); |
381 | 377 | foreach ( $nav as $section => $links ) { |
— | — | @@ -578,8 +574,6 @@ |
579 | 575 | </body> |
580 | 576 | </html> |
581 | 577 | <?php |
582 | | - // We're done with abusing arrays now... |
583 | | - $wgDevelopmentWarnings && wfRestoreWarnings(); |
584 | 578 | } |
585 | 579 | |
586 | 580 | /** |