From 432725f0bceb09329dd468e078d8c0825d1a110f Mon Sep 17 00:00:00 2001 From: Nick Jenkins Date: Wed, 29 Nov 2006 12:57:54 +0000 Subject: [PATCH] Appears to be a dupe of the line above it, and ParserOptions::initialiseFromUser() [ which is called by the ParserOptions constructor, which in turn is called by ParserOptions::newFromUser() ] does not appear to have any side effects. --- includes/SpecialPreferences.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index a06bf793fb..39f2fc57b4 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -334,7 +334,6 @@ class PreferencesForm { } $wgOut->setParserOptions( ParserOptions::newFromUser( $wgUser ) ); - $po = ParserOptions::newFromUser( $wgUser ); $this->mainPrefsForm( $error === false ? 'success' : 'error', $error); } -- 2.20.1