From 0168a529a98adcc257771ad8ef52e11e9ae85471 Mon Sep 17 00:00:00 2001 From: Platonides Date: Mon, 27 Aug 2012 22:31:01 +0200 Subject: [PATCH] Remove a couple of unused globals Change-Id: I173334c43e1bc2ed5f404f82e770d3e20fa65914 --- includes/Linker.php | 1 - includes/specials/SpecialUndelete.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/Linker.php b/includes/Linker.php index 0b2deef78f..7aba444050 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1863,7 +1863,6 @@ class Linker { * @return String: HTML output */ public static function formatHiddenCategories( $hiddencats ) { - global $wgLang; wfProfileIn( __METHOD__ ); $outText = ''; diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index e2eab73423..3a6fab31f4 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -329,7 +329,7 @@ class PageArchive { * on success, false on failure */ function undelete( $timestamps, $comment = '', $fileVersions = array(), $unsuppress = false, User $user = null ) { - global $wgContLang, $wgUser; + global $wgUser; // If both the set of text revisions and file revisions are empty, // restore everything. Otherwise, just restore the requested items. -- 2.20.1