summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-10-22 18:32:32 -0200
committerRenato Botelho <renato@netgate.com>2015-10-22 18:32:32 -0200
commitcf093b35443966b7cbf4f466308fa2358cd3cd31 (patch)
tree4e80133e8043cb009a9da79fce4bc6ae11f84c61 /src/etc
parent029252869219fb20de8d485e7856798cd7d3514a (diff)
downloadpfsense-cf093b35443966b7cbf4f466308fa2358cd3cd31.zip
pfsense-cf093b35443966b7cbf4f466308fa2358cd3cd31.tar.gz
Remove more references to theme, ticket #5333
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/inc/globals.inc1
-rw-r--r--src/etc/inc/upgrade_config.inc4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/etc/inc/globals.inc b/src/etc/inc/globals.inc
index 286b00e..adc4f28 100644
--- a/src/etc/inc/globals.inc
+++ b/src/etc/inc/globals.inc
@@ -68,7 +68,6 @@ $g = array(
"hideplatform" => false,
"hidedownloadbackup" => false,
"hidebackupbeforeupgrade" => false,
- "disablethemeselection" => false,
"disablehelpmenu" => false,
"disablehelpicon" => false,
"disablecrashreporter" => false,
diff --git a/src/etc/inc/upgrade_config.inc b/src/etc/inc/upgrade_config.inc
index 1ca022e..18da261 100644
--- a/src/etc/inc/upgrade_config.inc
+++ b/src/etc/inc/upgrade_config.inc
@@ -3979,6 +3979,10 @@ function upgrade_122_to_123() {
if (isset($config['system']['altpkgrepo'])) {
unset($config['system']['altpkgrepo']);
}
+
+ if (isset($config['theme'])) {
+ unset($config['theme']);
+ }
}
function upgrade_123_to_124() {
OpenPOWER on IntegriCloud