Remove duplicate code from Setup.php

Change-Id: I6dadb12ec8410258d7c9c24e1d12badf6c1c2dea
This commit is contained in:
umherirrender 2013-04-20 16:57:56 +02:00 committed by Gerrit Code Review
parent 6c38a5eb72
commit 35572ce19e

View file

@ -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";