Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-78815

Move question deletion code for plugins to event handlers

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 4.3
    • 4.2.1
    • Questions

    Description

      Currently, question_delete_question() in questionlib.php contains code for deleting data held by the qbank_customfields, qbank_tagquestion and qbank_comments plugins. The function already triggers an event when the question is deleted, so this code should be moved to event handlers in the respective plugins.

      Attachments

        Issue Links

          Activity

            People

              marxjohnson Mark Johnson
              marxjohnson Mark Johnson
              Marcus Green Marcus Green
              Mathew May Mathew May
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 21 minutes
                  4h 21m

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.