upgrade fixes. previousVersion.sql change is merely temporary (until 6.8.5 is released)

This commit is contained in:
Matthew Wilson 2006-01-16 00:01:20 +00:00
parent 75e83b2da0
commit 77f9ae07b2
2 changed files with 2 additions and 3 deletions

View file

@ -162,7 +162,7 @@ foreach my $filename (keys %{$configs}) {
unless ($history) {
print "\tPreparing site for upgrade.\n" unless ($quiet);
$session->setting->remove('specialState');
$session->add('specialState','upgrading');
$session->setting->add('specialState','upgrading');
print "\tDeleting temp files.\n" unless ($quiet);
my $path = $configs->{$filename}->get("uploadsPath").$slash."temp";
rmtree($path) unless ($path eq "" || $path eq "/" || $path eq "/data");
@ -179,7 +179,6 @@ foreach my $filename (keys %{$configs}) {
if ($history) {
print "\nDisplaying upgrade history for each site.\n";
require WebGUI::DateTime;
foreach my $file (keys %config) {
print "\n".$file."\n";
my $session = WebGUI::Session->open("../..",$file);