Forums | Mahara Community
Developers
/
execute_sql on delete profile field
23 August 2012, 13:16
I have a database with xUser table syncing with mahara artefact internal. Everytime a user update the profile, I use execute_sql() in commit() to save data to xUser table. It works great.
The problem I have is when users remove info from their profile fields. I have an execute_sql() to update xUser in delete(), but for some reason it doesn't get executed. I turned debug on and tried to display error/warning message if any, but the syntax seems to be correct.
Any suggestion or help is appreciated.