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:
Colin Kuskie 2010-03-09 08:53:11 -08:00
parent 8f951013b9
commit f55acecbb6
2 changed files with 2 additions and 1 deletions

View file

@ -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;