Automatic user deletion

Administration tools ::: tool_userautodelete
Maintained by Niels Gandraß
Automatically deletes users that have not logged in for a configurable number of days. Supports sending customizable inactivity warning mails prior to final deletion and allows for GDPR-compliant deletion of all personally identifiable information (PII) from the user records.

Automatic user deletion 1.0.0

Moodle 4.1, 4.2, 4.3, 4.4, 4.5, 5.0
Released: Tuesday, 13 May 2025, 11:23 PM

Changelog

  • First stable release 🚀
  • Automatically deleting inactive user accounts
  • Sending warning emails to users before deletion
  • GDPR-compliant deletion of user accounts
  • Ignoring users with specific roles
  • Configurable deletion and warning thresholds, email templates, enabling/disabling of single features, etc.
  • Logging of deletion events
  • Automated testing and support for all active Moodle releases
  • Full English and German language support
  • Documentation on installation, configuration, and usage

Version information

Version build number
2025051300
Version release name
1.0.0
Can be updated to
1.0.1 (2025051700), 1.1.0 (2025052000), 1.1.1 (2025052100), 1.2.0 (2025061100)
Maturity
Stable version
MD5 Sum
4c864d5fb0dd537c950a5123571187e5
Supported software
PHP 7.4, PHP 8.0, PHP 8.1, Moodle 4.1, Moodle 4.2, PHP 8.2, Moodle 4.3, PHP 8.3, Moodle 4.4, Moodle 4.5, Moodle 5.0, PHP 8.4

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v1.0.0

Default installation instructions for plugins of the type Administration tools

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