upgrade deletes template cache and temp files
This commit is contained in:
parent
4b17c88300
commit
0823527ebe
2 changed files with 4 additions and 0 deletions
|
|
@ -91,6 +91,8 @@
|
|||
- Added JavaScript RawHeadTags, and StyleSheet macros.
|
||||
- Changed navigation, page, macro, and rich editor templates to load more
|
||||
quickly.
|
||||
- upgrade.pl now deletes temporary files and template cache.
|
||||
|
||||
|
||||
6.1.1
|
||||
- bugfix [ 991313 ] Manage Translations doesn't work
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ BEGIN {
|
|||
}
|
||||
|
||||
use DBI;
|
||||
use File::Path;
|
||||
use Getopt::Long;
|
||||
use Parse::PlainConfig;
|
||||
use strict;
|
||||
|
|
@ -171,6 +172,7 @@ foreach my $file (@files) {
|
|||
($config{$file}{version}) = WebGUI::SQL->quickArray("select webguiVersion from webguiVersion
|
||||
order by dateApplied desc, webguiVersion desc limit 1",$dbh);
|
||||
$dbh->disconnect;
|
||||
rmtree($config->get("uploadsPath".$slash."temp"));
|
||||
} else {
|
||||
delete $config{$file};
|
||||
print "\tSkipping non-MySQL database.\n" unless ($quiet);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue