From 35572ce19e2b68887b95c481f01c9db64c0dfb59 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sat, 20 Apr 2013 16:57:56 +0200 Subject: [PATCH] Remove duplicate code from Setup.php Change-Id: I6dadb12ec8410258d7c9c24e1d12badf6c1c2dea --- includes/Setup.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/includes/Setup.php b/includes/Setup.php index 08ab14373e..a5979ea5e6 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -61,12 +61,6 @@ if ( !empty( $wgActionPaths ) && !isset( $wgActionPaths['view'] ) ) { $wgActionPaths['view'] = $wgArticlePath; } -if ( !empty( $wgActionPaths ) && !isset( $wgActionPaths['view'] ) ) { - # 'view' is assumed the default action path everywhere in the code - # but is rarely filled in $wgActionPaths - $wgActionPaths['view'] = $wgArticlePath; -} - if ( $wgStylePath === false ) $wgStylePath = "$wgScriptPath/skins"; if ( $wgLocalStylePath === false ) $wgLocalStylePath = "$wgScriptPath/skins"; if ( $wgStyleDirectory === false ) $wgStyleDirectory = "$IP/skins"; -- 2.20.1