-
New Feature
-
Resolution: Fixed
-
Minor
-
3.2, 3.3, 3.4
-
MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
-
MOODLE_34_STABLE
-
MDL-57476_file_callbacks -
We are building out a feature that we will eventually open source as a plugin, but it currently requires a patch into core Moodle. The patch is specifically around file deletion, EG: the plugin needs to know when any file has been deleted.
Specifically, we had to patch \stored_file.delete method.
We are hoping that we could get something into core that would be general purpose and likely have larger scope, EG: hooks for file updates, creates, etc.
Unsure if these would be events or just API hooks. Looking for general feedback to see if this is at all possible or alternative solutions/proposals.