Kill $wgAllowUserSkin
authorSam Reed <reedy@users.mediawiki.org>
Fri, 6 May 2011 23:18:11 +0000 (23:18 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Fri, 6 May 2011 23:18:11 +0000 (23:18 +0000)
includes/DefaultSettings.php
includes/Setup.php

index c06586d..565a7b2 100644 (file)
@@ -2260,12 +2260,6 @@ $wgValidateAllHtml = false;
  */
 $wgDefaultSkin = 'vector';
 
-/**
-* Should we allow the user's to select their own skin that will override the default?
-* @deprecated in 1.16, use $wgHiddenPrefs[] = 'skin' to disable it
-*/
-$wgAllowUserSkin = true;
-
 /**
  * Specify the name of a skin that should not be presented in the list of
  * available skins.  Use for blacklisting a skin which you do not want to
index 4a11dae..58b9002 100644 (file)
@@ -261,10 +261,6 @@ if ( !$wgAllowRealName ) {
        $wgHiddenPrefs[] = 'realname';
 }
 
-if ( !$wgAllowUserSkin ) {
-       $wgHiddenPrefs[] = 'skin';
-}
-
 # Doesn't make sense to have if disabled.
 if ( !$wgEnotifMinorEdits ) {
        $wgHiddenPrefs[] = 'enotifminoredits';