MDL-39166 auth_ldap Add triggers for user created/updated events.
MDL-38369 repository: Remove output before redirect
MDL-39487 mod/assign: fixed ID number of grade item changing
MDL-26120_23 mod_forum: use correct object
MDL-36482 activities block: Allow mod display without intro's
MDL-35859 core_grade:fixed an optional parameter call to use the array version
MDL-39363 scorm: Accept 0 as a valid score
MDL-39640 repository: Prevent notice when editing an instance
MDL-39642 Merge English strings from the en_fix language pack
Merge branch 'MDL-39642-en_fix-23' of git://github.com/mudrd8mz/moodle into MOODLE_23_STABLE
Moodle release 2.3.7
Automatically generated installer lang files
MDL-33719 When overwriting a file the filemanager is not refreshed
MDL-39177 File reference is not updated when overwriting the file
MDL-39177 Original info is not preserved when overwriting a file in filemanager

original file location is used by filemanager to indicate that file is a source of reference and file the list of referencing files
MDL-39177 Discard file origin when moving/renaming a file in filemanager

Created one function that handles file update to be used from both JS and nonJS filepicker
MDL-39177 Update file in filearea only if original is present

Now when file was deleted in filemanager and new file with the same file was uploaded the references will be converted to copies exactly like UI warns in filemanager.
Also do not delete original information from draftfiles.
MDL-39177 Remove code duplication
MDL-39177 Perform all checks on draftfile area before saving the files
MDL-39177 Ensure files are overwritten correctly on unzip