This commit is contained in:
Matthew Wilson 2005-12-05 22:05:04 +00:00
parent 2b0e209f69
commit 98eeffb616

View file

@ -78,7 +78,7 @@ Returns 1. Purges self and all descendants.
sub purgeBranch {
my $self = shift;
my $descendants = $self->getLineage(["self","descendants"],{returnObjects=>1, invertTree=>1, statesToInclude=>['published', 'cliboard', 'clipboard-limbo','trash','trash-limbo']});
my $descendants = $self->getLineage(["self","descendants"],{returnObjects=>1, invertTree=>1, statesToInclude=>['published', 'clipboard', 'clipboard-limbo','trash','trash-limbo']});
foreach my $descendant (@{$descendants}) {
$descendant->purge;
}