function commons_groups_default_rules_configuration_alter in Drupal Commons 7.3
File
- modules/
commons/ commons_groups/ commons_groups.module, line 731
Code
function commons_groups_default_rules_configuration_alter(&$configs) {
// Disable default OG new content notifications.
// The language doesn't correspond to Commons' open groups model and we use
// commons_follow and commons_follow_notify for new content notifications.
if (isset($configs['rules_og_member_active'])) {
$configs['rules_og_member_active']->active = FALSE;
}
}