MDL-41778 enrol/ldap fix update_course function