first round of changes to create the ui for building workflows, more to come
a few small bug fixes
This commit is contained in:
parent
18e24618e7
commit
6ee05b85af
12 changed files with 441 additions and 26 deletions
|
|
@ -96,7 +96,7 @@ Deletes an asset from tables and removes anything bound to that asset, including
|
|||
|
||||
sub purge {
|
||||
my $self = shift;
|
||||
return undef if ($self->getId eq $self->session->setting->get("defaultPage") || $self->getId eq $self->session->setting->get("notFoundPage") || $self->get("isSystem");
|
||||
return undef if ($self->getId eq $self->session->setting->get("defaultPage") || $self->getId eq $self->session->setting->get("notFoundPage") || $self->get("isSystem"));
|
||||
my $kids = $self->getLineage(["children"],{returnObjects=>1, statesToInclude=>['published', 'clipboard', 'clipboard-limbo','trash','trash-limbo']});
|
||||
foreach my $kid (@{$kids}) {
|
||||
$kid->purge;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue