Remove a couple of unused globals
authorPlatonides <platonides@gmail.com>
Mon, 27 Aug 2012 20:31:01 +0000 (22:31 +0200)
committerPlatonides <platonides@gmail.com>
Mon, 27 Aug 2012 20:31:01 +0000 (22:31 +0200)
Change-Id: I173334c43e1bc2ed5f404f82e770d3e20fa65914

includes/Linker.php
includes/specials/SpecialUndelete.php

index 0b2deef..7aba444 100644 (file)
@@ -1863,7 +1863,6 @@ class Linker {
         * @return String: HTML output
         */
        public static function formatHiddenCategories( $hiddencats ) {
-               global $wgLang;
                wfProfileIn( __METHOD__ );
 
                $outText = '';
index e2eab73..3a6fab3 100644 (file)
@@ -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.