I want to run a database query in another CRM database after a user has registered. I'm attempting to do this usingI have the following function user_register_submit,in my sugar_crm module eg:
function sugar_crm_user_register_submit($form, &$form_state)
{
// some code to run a database query in SugarCRM
ddl("User registration form submitted to CRM");
}
However, the function doesn't appear ever to be called. What am I doing wrong here?