Basically the last funcion at og_activity.module calls rules but the module is not rules dependent

/**
 * Submit function to load the become og admin rule.
 */
function og_activity_create_admin_confirm($form, $form_state) {
  rules_invoke_event('og_become_co_admin', $form_state['values']['node'], $form_state['values']['account']);
}
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

David Stosik’s picture

Status: Active » Needs review
FileSize
693 bytes

Please find the patch attached. Feel free to test.

David
This patch is part of the #1day1patch initiative.

David Stosik’s picture

Issue summary: View changes

I forgot the code tags