Purge old assignments

Local plugins ::: local_purgeoldassignments
Maintained by Noémie Ariste, Catalyst IT
This plugin allows a site manager to delete historical files stored within an assignment - at 1/2/3 year intervals. Note: it deletes the files but does not remove grades etc.

Purge old assignments 2025051300

Moodle 4.1, 4.2, 4.3, 4.4, 4.5
Released: Thursday, 19 June 2025, 9:50 AM

What is this?

This plugin allows a site manager to delete historical files stored within an assignment - at 1/2/3 year intervals. Note: it deletes the files but does not remove grades etc.

3 standard file areas are currently supported * assignfeedback_editpdf * assignfeedback_file * assignsubmission_file

Purging files can be done in two ways: - manual purge: schedules an adhoc task for the selected file area and interval. - automated purge: can be enabled by file area, each with its own interval.

This was developed for a specific use-case and there is room for improvement - pull requests are always welcome.

Example usage

image

Version information

Version build number
2025051300
Version release name
2025051300
Maturity
စစ်ဆေးအတည်ပြုထားသော ဗားရှင်း
MD5 Sum
390163efbce590a3a05036fbd61c4d93
Supported software
Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5
  • Latest release for Moodle 4.1
  • Latest release for Moodle 4.2
  • Latest release for Moodle 4.3
  • Latest release for Moodle 4.4
  • Latest release for Moodle 4.5

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Local plugins

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder in the "local" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation.