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']);
Members fund testing for the Drupal project. Drupal Association Learn more


David Stosik’s picture

Status: Active » Needs review
693 bytes

Please find the patch attached. Feel free to test.

This patch is part of the #1day1patch initiative.

David Stosik’s picture

Issue summary: View changes

I forgot the code tags