Remove unused globals.
authorPlatonides <platonides@gmail.com>
Fri, 12 Jul 2013 18:25:14 +0000 (20:25 +0200)
committerPlatonides <platonides@gmail.com>
Fri, 12 Jul 2013 18:25:14 +0000 (20:25 +0200)
Change-Id: Icde0bbfcfe5e560a3db0ccb8020b9c9a27f4fba3

includes/ChangesList.php
includes/Title.php

index dee8bf7..f3dcf67 100644 (file)
@@ -362,8 +362,6 @@ class ChangesList extends ContextSource {
         * @param $watched
         */
        public function insertArticleLink( &$s, &$rc, $unpatrolled, $watched ) {
-               global $wgUseRCPatrol;
-
                $params = array();
 
                $articlelink = Linker::linkKnown(
index 12a08ee..0c223af 100644 (file)
@@ -2099,7 +2099,7 @@ class Title {
         * @return Array list of errors
         */
        private function checkReadPermissions( $action, $user, $errors, $doExpensiveQueries, $short ) {
-               global $wgWhitelistRead, $wgWhitelistReadRegexp, $wgRevokePermissions;
+               global $wgWhitelistRead, $wgWhitelistReadRegexp;
 
                $whitelisted = false;
                if ( User::isEveryoneAllowed( 'read' ) ) {