eliminated the purgeBranch method, cuz purge() should always do that anyway.
This commit is contained in:
parent
a4578d1d7d
commit
18e24618e7
4 changed files with 8 additions and 22 deletions
|
|
@ -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->purgeBranch;
|
||||
$asset->purge;
|
||||
}
|
||||
$sth->finish;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue