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.
Latest release:
10 sites
13 downloads
1 fans
Current versions available: 1

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.

Screenshots

Screenshot #0

Contributors

Noémie Ariste (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Plugins bot
    Thu, 19 June 2025, 6:44 PM
    Approval issue created: CONTRIB-9959
  • Karsinora Fenriz
    Tue, 8 July 2025, 11:12 PM
    Good idea. I got interested and installed it. However, it turned out that there is no interface for configuring deletion at the system level. At least, if it has, I could not find it. Unfortunately, managing a system with a huge number of courses, configuring the plugin in each instance is a completely impossible task. I hope that in future the plugin will have system functionality, since the idea is really great.
  • Noémie Ariste
    Wed, 9 July 2025, 12:09 PM
    Great to see your interest in the plugin. For the moment, it doesn't include a way to manage the deletion at system level but we are open to the idea and would welcome code contributions to implement it.
Please login to post comments