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

Add course section deletion event.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9, 3.1
    • Fix Version/s: 3.1
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      Hide
      • Run unit test that covers event functionality test:
        vendor/bin/phpunit core_course_courselib_testcase course/tests/courselib_test.php
      • Open the course, delete section, observe in the course reports log that section deletion has been reflected.
      Show
      Run unit test that covers event functionality test: vendor/bin/phpunit core_course_courselib_testcase course/tests/courselib_test.php Open the course, delete section, observe in the course reports log that section deletion has been reflected.
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-51830-master

      Description

      Currently no event is triggered on course section deletion, this feature is needed to notify plugins that may store and use course section references.

      Proposed name: \core\event\course_section_deleted

        Attachments

          Activity

            People

            Assignee:
            kabalin Ruslan Kabalin
            Reporter:
            kabalin Ruslan Kabalin
            Peer reviewer:
            Adrian Greeve
            Integrator:
            David Monllaó
            Tester:
            Jun Pataleta
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              23/May/16