Don't delete the special state unless we set it. Fixes bug #11938
This commit is contained in:
parent
7219e21f86
commit
1c63a65377
2 changed files with 4 additions and 1 deletions
|
|
@ -271,7 +271,9 @@ foreach my $filename (keys %config) {
|
|||
chdir($currentPath);
|
||||
my $session = WebGUI::Session->open($webguiRoot,$filename);
|
||||
print "\tSetting site upgrade completed..." unless ($quiet);
|
||||
$session->setting->remove('specialState');
|
||||
unless ($skipMaintenance) {
|
||||
$session->setting->remove('specialState');
|
||||
}
|
||||
$session->close();
|
||||
print "OK\n" unless ($quiet);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue