From: umherirrender Date: Sat, 20 Apr 2013 14:57:56 +0000 (+0200) Subject: Remove duplicate code from Setup.php X-Git-Tag: 1.31.0-rc.0~19931 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22brouteur%22%2C%28%24id_rubrique%20?a=commitdiff_plain;h=35572ce19e2b68887b95c481f01c9db64c0dfb59;p=lhc%2Fweb%2Fwiklou.git Remove duplicate code from Setup.php Change-Id: I6dadb12ec8410258d7c9c24e1d12badf6c1c2dea --- 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";