Handle the edge case when a subscription group has been deleted, but the the Subscribable entry has not been cleaned up. Fixes bug #11456.
This commit is contained in:
parent
8f951013b9
commit
f55acecbb6
2 changed files with 2 additions and 1 deletions
|
|
@ -428,7 +428,7 @@ sub purge {
|
|||
my $options = shift;
|
||||
|
||||
my $group = $self->getSubscriptionGroup();
|
||||
$group->delete;
|
||||
$group->delete if $group;
|
||||
my $success = $self->next::method($options);
|
||||
|
||||
return $success;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue