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

@ -12,6 +12,7 @@
- fixed #11458: Use packed template removes wanted whitespace
- fixed #11459: "default template" warning after upgrade to 7.8.14
- added #11460: Override the search root asset. (United Knowledge)
- fixed #11456: Delete a wiki (Reopen #11446 - subscription groups)
7.8.13
- fixed #11418: confusing typ-o in gotcha

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;