Permalink
Browse files

fix(groups): unfeaturing a group no longer leaves useless metadata

  • Loading branch information...
mrclay committed Jul 27, 2016
1 parent 338060c commit 2f3cf28ac0d879fa13a874e99227faad6ef5bb4c
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/groups/actions/groups/featured.php
@@ -20,7 +20,7 @@
$group->featured_group = "yes";
system_message(elgg_echo('groups:featuredon', array($group->name)));
} else {
$group->featured_group = "no";
$group->deleteMetadata('featured_group');
system_message(elgg_echo('groups:unfeatured', array($group->name)));
}

0 comments on commit 2f3cf28

Please sign in to comment.