From 6792448843370abb772750df45c96264590b35a2 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 19 Aug 2009 18:22:31 +0000 Subject: [PATCH] Cleanup for r54264 "* Don't suppress warnings while developing, wasting my time for debugging" Remove the warning suppression entirely; if you're seeing any warnings come up here it's probably because you forgot an isset() :) Please find and fix any such items. --- skins/Vector.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/skins/Vector.php b/skins/Vector.php index 99f6d53c69..6461ec3526 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -366,15 +366,11 @@ class VectorTemplate extends QuickTemplate { * Outputs the entire contents of the XHTML page */ public function execute() { - global $wgRequest, $wgOut, $wgContLang, $wgDevelopmentWarnings; + global $wgRequest, $wgOut, $wgContLang; $this->skin = $this->data['skin']; $action = $wgRequest->getText( 'action' ); - // Suppress warnings to prevent notices about missing indexes in - // $this->data (is this really the best way to handle this?) - $wgDevelopmentWarnings && wfSuppressWarnings(); - // Build additional attributes for navigation urls $nav = $this->skin->buildNavigationUrls(); foreach ( $nav as $section => $links ) { @@ -578,8 +574,6 @@ class VectorTemplate extends QuickTemplate {