more bug fixes
This commit is contained in:
parent
b21461d50c
commit
469950a1ef
4 changed files with 12 additions and 3 deletions
|
|
@ -298,6 +298,7 @@ sub addAssetVersioning {
|
|||
$sth = WebGUI::SQL->read("select olderVersions from FileAsset");
|
||||
while (my ($old) = $sth->array) {
|
||||
foreach my $storageId (split("\n",$old)) {
|
||||
next unless ($storageId);
|
||||
WebGUI::Storage->get($storageId)->delete;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue