Remove unused globals
authorPlatonides <platonides@gmail.com>
Thu, 27 Dec 2012 13:04:53 +0000 (14:04 +0100)
committerPlatonides <platonides@gmail.com>
Thu, 27 Dec 2012 13:04:53 +0000 (14:04 +0100)
Change-Id: Ie1920c5b6f0a38c7e697a493aef88e54873c07ab

includes/specials/SpecialUserlogin.php
maintenance/rebuildtextindex.php

index d571c8b..098caaf 100644 (file)
@@ -737,7 +737,7 @@ class LoginForm extends SpecialPage {
        }
 
        function processLogin() {
-               global $wgMemc, $wgLang, $wgSecureLogin, $wgCookieSecure;
+               global $wgMemc, $wgLang, $wgSecureLogin;
 
                switch ( $this->authenticateUserData() ) {
                        case self::SUCCESS:
index e5b08f8..534b7ca 100644 (file)
@@ -86,8 +86,6 @@ class RebuildTextIndex extends Maintenance {
         * Populates the search index with content from all pages
         */
        protected function populateSearchIndex() {
-               global $wgContentHandlerUseDB;
-
                $res = $this->db->select( 'page', 'MAX(page_id) AS count' );
                $s = $this->db->fetchObject( $res );
                $count = $s->count;