MDL-40773 mod_scorm: change params for success and failure functions