- 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)
 - fix [ 1288786 ] Names of copied style templates doesnt update.
 - fix [ 1292538 ] Template::getList isn't versioned
 - fix [ 1241451 ] Images not showing up in TinyMCE
 - fix [ 1252786 ] rich edit ie image problem
 - fix [ 1284248 ] runHourly.pl moving assets I don't want in trash to trash
This commit is contained in:
JT Smith 2005-09-19 22:31:07 +00:00
parent 2ca63a85fb
commit 104ee36535
6 changed files with 24 additions and 5 deletions

View file

@ -25,7 +25,7 @@ sub process {
asset.assetId=assetData.assetId where assetData.endDate<".$epoch." group by assetData.assetId");
while (my ($assetId, $class, $version) = $sth->array) {
my $asset = WebGUI::Asset->new($assetId,$class,$version);
$asset->trash;
$asset->trash if ($asset->get("endDate") < $epoch);
}
$sth->finish;
}