Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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']);
}
Comment | File | Size | Author |
---|---|---|---|
#1 | 1322904-1-heartbeat-og_activity_rules_call.patch | 693 bytes | David Stosik |
Comments
Comment #1
David Stosik CreditAttribution: David Stosik commentedPlease find the patch attached. Feel free to test.
David
This patch is part of the #1day1patch initiative.
Comment #1.0
David Stosik CreditAttribution: David Stosik commentedI forgot the code tags