View Single Post
Old 29th May 2013, 16:20
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

Originally Posted by remy74 View Post
In fact, we just need to knows if there is a simple function to track which data was modified, after they are validate.
The data si saved in the onUpdateSave function of the tform_actions class. You can either completely override that function in case you want to store data in another source like a file, ldap or similar instaed of mysql or you override it and call the parent function after you executed your custom code.


myform extends tform_actions {

function onUpdateSave($sql) {

... do something ...



if you want to get the changes of a record, use the diffrec function of the mysql library. This function is used by ispconfig to detect which differences have to be saved into the sys_datalog for processing on the server.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from

Last edited by till; 29th May 2013 at 16:22.
Reply With Quote