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

Move question deletion code for plugins to event handlers

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved:

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

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