triggering a function of mine on every file upload by any user

Re: triggering a function of mine on every file upload by any user

από Patrick Scott -
Αριθμός απαντήσεων: 0
as you suggested, I have created an antivirus plugin and do my own file checking on upload.
the cheat works great.

is there also a way to catch the event of file renaming? file updating?
the only way I currently see to catch such an event is at /repository/draftfiles_ajax.php - which is also moodle's core and I don't want to modify that file either for the same reasons.