- fix [ 1292597 ] Trash not emptied

- fix [ 1292209 ] purgeTree called in runHourly.pl (6.7.4)
 - fix [ 1290600 ] 6.6.5-6.7.0 upgrade script (fix) (Nicklous Roberts)
This commit is contained in:
JT Smith 2005-09-19 18:47:51 +00:00
parent ee1e7e870c
commit 2ca63a85fb

View file

@ -23,7 +23,7 @@ sub process {
my $sth = WebGUI::SQL->read("select assetId,className from asset where state='trash' and stateChanged <".$expireDate);
while (my ($id, $class) = $sth->array) {
my $asset = WebGUI::Asset->new($id,$class);
$asset->purgeTree;
$asset->purgeBranch;
}
$sth->finish;
}