Merge "Remove unused globals."
This commit is contained in:
commit
12857eacf3
2 changed files with 1 additions and 3 deletions
|
|
@ -362,8 +362,6 @@ class ChangesList extends ContextSource {
|
|||
* @param $watched
|
||||
*/
|
||||
public function insertArticleLink( &$s, &$rc, $unpatrolled, $watched ) {
|
||||
global $wgUseRCPatrol;
|
||||
|
||||
$params = array();
|
||||
|
||||
$articlelink = Linker::linkKnown(
|
||||
|
|
|
|||
|
|
@ -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' ) ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue