Don't delete the special state unless we set it. Fixes bug #11938

This commit is contained in:
Colin Kuskie 2010-11-01 08:22:30 -07:00
parent 7219e21f86
commit 1c63a65377
2 changed files with 4 additions and 1 deletions

View file

@ -16,6 +16,7 @@
- fixed #11924: Deleting version tags leaves pending inbox messages in a permanent state
- intalled YUI fix for flash files.
- fixed #11932: Bad URL in the newly templated recover password email
- fixed #11938: upgrade script always removes specialState
7.10.3
- fixed #11903: Unnecessary debug in Thingy

View file

@ -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);
}