Moodle Plugins directory: Course Deleter: Versions: 1.0 | Moodle.org
Course Deleter
Local plugins ::: local_deletecourse
Maintained by
Amit Bhradwaj
This Moodle plugin allows administrators to search for, filter, and delete courses — either manually or automatically based on inactivity.
Course Deleter 1.0
Moodle 3.10, 3.11, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 5.0
Released: vrijdag, 18 juli 2025, 20:42
📘 Course Deleter Plugin for Moodle
This Moodle plugin allows administrators to search for, filter, and delete courses — either manually or automatically based on inactivity.
🔧 Features
- Search & bulk delete courses
- Scheduled deletion based on inactivity
- Admin-configurable deletion rules
- Dry-run mode for safe preview
- Email reports of deletions or dry runs
- Fully permission-based
📂 Installation
- Unzip the
deletecourse.zip
file. - Place the
deletecourse
folder into your Moodle/local/
directory. - Navigate to Site administration > Notifications to complete the installation.
⚙️ Configuration
Go to: Site administration > course > Course Deleter
Settings include: - Enable/Disable scheduled deletion - Set inactivity threshold (in days) - Enable dry-run mode - Notification email for reports
🕓 Scheduled Deletion
Runs daily at 2:00 AM server time. Deletes courses not accessed in the configured number of days (default: 365). Honors Moodle capability checks and site settings.
🔒 Permissions
Only users with the local/deletecourse:delete
capability can access or manage course deletions.
🧪 Testing
- Try manual deletion from the plugin UI (
/local/deletecourse/index.php
) - Use "Run now" in Scheduled Tasks to test automated deletion.
🛠 Requirements
- Moodle 3.9 or higher
- PHP 7.2+
📬 Support
For issues or suggestions, contact your Moodle site administrator or plugin developer.
Version information
- Version build number
- 2025071800
- Version release name
- 1.0
- Maturity
- Stabiele versie
- MD5 Sum
- db5174427f3d2e75720f4416c4c86cea
- Supported software
- Moodle 3.10, Moodle 3.11, Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5, Moodle 5.0
- Latest release for Moodle 3.10
- Latest release for Moodle 3.11
- Latest release for Moodle 4.0
- 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
- Latest release for Moodle 5.0
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
- VCS branch
- main
Default installation instructions for plugins of the type Local plugins
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder in the "local" subdirectory.
- Visit http://yoursite.com/admin to finish the installation.