Delete courses
Maintained by
Charles Fulton, Andrew Zito
This admin tool allows managers to delete all courses in a category (including subcategories if desired). The tool may optionally bypass the recycle bin for improved performance.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Interestingly, I fell into the same issue as others, expecting to see this in the System Administration area..
But per your directions, it's in the student-view, but with admin access, you navigate to the category, then click on the cog to find the Delete All courses option.
After you click on 'Delete all courses' you will then have the option to include subcategories and bypass the recycle bin. Bypassing the recycle bin will also help speed up the deletions.
Thank you for the plugin.
I ve installed it in Moodle 3.5.2+, correctly found the link Delete all courses in my category, run manually the cron.php and see only one adhoc task "Execute adhoc task: core_course\task\course_delete_modules" , but courses are not deleted, they still appear in the list. What can be the problem? I've denyed the access to the link to manager rol too, so it is only visible to main managers.
Thanks for you message. I tried to install the plugin, but I can't see a button in the course administration to delete the courses.
Do you have an example where I can find it?
The current version was tested with Moodle 3.9 and works. There's no date for the cli version; I still think it's a good idea but I've no time to work on it. Regarding selecting courses based on date, there's no such functionality and no current plans to include it.
Best,
Charles
When will your cli version be available? Is it also possible to select courses that aren't used anymore befory a given date? And is your plugin working in Moodle 3.9?
I also doubled up on this deletion issue and charged this with Moodle HQ https://tracker.moodle.org/browse/MDL-69139
i do think however this module would be a better solution rather than waiting for Moodle HQ to implement something.