From 389edb780d966bb3dc90e06033415390ffb389a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 28 Nov 2007 14:26:30 +0000 Subject: [PATCH] E_STRICT: Use $wgParser as we have it around instead of calling statically --- includes/SpecialPreferences.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index 61270c502b..b8f1385a76 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -250,7 +250,7 @@ class PreferencesForm { wfMsg( 'badsiglength', $wgLang->formatNum( $wgMaxSigChars ) ) ); return; } elseif( $this->mToggles['fancysig'] ) { - if( Parser::validateSig( $this->mNick ) !== false ) { + if( $wgParser->validateSig( $this->mNick ) !== false ) { $this->mNick = $wgParser->cleanSig( $this->mNick ); } else { $this->mainPrefsForm( 'error', wfMsg( 'badsig' ) ); -- 2.20.1