Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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