Closed (fixed)
Project:
Role Delegation
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2008 at 14:12 UTC
Updated:
17 Mar 2009 at 01:40 UTC
This module uses direct database manipulation instead of using user_save, so other modules like Role Change Notify cannot interoperate with it (see #341126: Does not work with Role Delegation). user_save() is the preferred way to operate.
The attached drupal6 patch updates role_delegation to use user_save().
| Comment | File | Size | Author |
|---|---|---|---|
| role_delegation_user_save_patch_drupal6.patch | 1.07 KB | rfay |
Comments
Comment #1
asak commentedThis works, and helps with integration with Rules as well (so that triggers of "Profile is updated" execute when changing roles using Role Delegation).
Comment #2
David Lesieur commentedCommitted. Great improvement, thanks!
Comment #3
David Lesieur commented