Purge question categories

Question bank plugins ::: qbank_purgecategory
Maintained by Vadim Dvorovenko
This plugin allows to delete question category with all questions and subcategories (previously local_purgequestioncategory).

Purge question categories 3.0.1

Moodle 4.5, 5.0
Released: poniedziałek, 3 marca 2025, 01:00

Purge question category Moodle plugin

Requirements

  • Moodle 4.5 (build 2024100700) or later.

Installation

Copy the purgecategory folder into your Moodle /question/bank directory and visit your Admin Notification page to complete the installation.

Usage

Question bank navigation node will be extended with "Purge categories" item. Select category you want to delete and specify where to move questions, that cannot be deleted. Questions, that cannot be deleted, are questions, that are used in quizes or in history of quiz attempts. Such questions will be moved to specified categories and marked as hidden. This can be useful if you are importing a lot of questions with many categories and want to delete all of them and reimport them.

Author

  • Vadim Dvorovenko (Vadimon@mail.ru)

Links

Changes

  • Release 0.9 (build 2016041500):
    • Initial release.
  • Release 1.0 (build 2016051000):
    • Adding some capability checks.
  • Release 1.1 (build 2016051300):
    • No need to select new category if no used questions present.
  • Release 1.2 (build 2018011100):
    • Support for 3.3 and higher (replaced usage of deprecated $OUTPUT->pix_url).
  • Release 1.3 (build 2020061200):
    • Privacy API support.
    • Question bank tabs.
    • Fix error message after deleting questions in category and system contexts.
    • Fix error after deprecating of question_is_only_toplevel_category_in_context.
  • Release 2.0 (build 2025012600)
    • Renamed from local_purgequestioncategory to qbank_purgecategory.
    • Refactored for Moodle 4 question bank changes.
  • Release 3.0 (build 2025030100)
    • Refactored for Moodle 4.5 question bank management changes.
  • Release 3.0.1 (build 2025030200)
    • Typo fix

Version information

Version build number
2025030200
Version release name
3.0.1
Maturity
Wersja stabilna
MD5 Sum
6b7a17e585a1e13e9889e04943cd7420
Supported software
Moodle 4.5, Moodle 5.0
  • Latest release for Moodle 4.5
  • Latest release for Moodle 5.0

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
2025030200