Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function YOURMODULE_user_update(&$edit, $account, $category) {
- if (user_has_role($YOUR_ROLE_RID, $account) {
- debug($account, 'account', true);
- debug($edit, 'edit request', true);
- // maybe add an email notification letting you know the event fired
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement