-
Improvement
-
Resolution: Fixed
-
Minor
-
4.2
-
MOODLE_402_STABLE
-
MOODLE_403_STABLE
-
As a follow-up to MDL-77406 Log every time a user adds a file to a draft area - Moodle Tracker, where we logged the details of the files which were added to the draft area, we should also log if students adds and then deletes the file from the draft file area.
The changes will be added to repository::repository_delete_selected_files, to log whenever a file is deleted from the draft file area. This will log the deleted file's filename, filepath, filesize, contenthash, itemid. If a folder is deleted then the files and the deleted folder details will be logged.