Purge question categories (Legacy)

Maintained by Vadim Dvorovenko
This plugin allows to delete question category with all questions and subcategories
Price option: Free

Supports Moodle 3.0-5.0 See all versions
Latest release: 1 year ago
Installations: 230
Downloads (last 90 days): 23

Frankenstyle name: local_purgequestioncategory
Local plugins

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Thanks Vadim for sharing this plugin with the Moodle community, and thanks Mike for detailed peer-review of it. I left some more feedback in the plugin's tracker but I believe this is good and safe to be approved now. You are cleared to land, welcome to the Plugins directory!

Hi Vadim -
I may not be using / testing this plugin correctly. When I go to the page: "/local/purgequestioncategory/category.php?courseid=2" (for example) using the "Purge categories" menu item, I am provided a page that lists categories of questions in the context, with a number in brackets, similar to what I would see with the standard "Edit categories" function. But there are no other controls or links on that page. Should I be able to do something more there?
Hi Vadim.
I am doing the initial review of your plugin for the Plugins Guardians.
I have posted one issue you need to look at in your tracker - https://github.com/vadimonus/moodle-local_purgequestioncategory/issues/1
Another consideration would be to consider adding the line 'defined('MOODLE_INTERNAL') || die();' to all files that are not called directly (for example, all your "classes/*" files. While not strictly necessary, it adds one more level of security to those files that should not be accessed directly.
I'll post any more comments I have as I work through.