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

Replace Legacy events - Course

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • 2.6
    • 2.5
    • Events API
    • MOODLE_25_STABLE
    • MOODLE_26_STABLE
    • MDL-39957_master
    • Hide
      1. Run phpunit course/tests/courselib_test.php and ensure there are no errors.
      2. Ensure you can change the order of two courses in a category.
      3. Ensure that you can hide one of the courses by clicking on the eye icon.
      4. Visit <yoursite>/report/log/index.php?id=1 and ensure you see a 'course move' and a 'course hide (or show depending on what action you performed)' log.
      Show
      Run phpunit course/tests/courselib_test.php and ensure there are no errors. Ensure you can change the order of two courses in a category. Ensure that you can hide one of the courses by clicking on the eye icon. Visit <yoursite>/report/log/index.php?id=1 and ensure you see a 'course move' and a 'course hide (or show depending on what action you performed)' log.
    • 20
    • BACKEND Sprint 3

      Replace all legacy events related to course.
      course/lib.php: events_trigger('course_created', $course);
      course/lib.php: events_trigger('course_updated', $course);
      lib/moodlelib.php: events_trigger('course_deleted', $course);
      lib/moodlelib.php: events_trigger('course_content_removed', $course);
      lib/coursecatlib.php: events_trigger('course_category_deleted', $this);
      lib/coursecatlib.php: events_trigger('course_category_deleted', $this);
      backup/util/plan/restore_plan.class.php: events_trigger('course_restored', (object) array(

            markn Mark Nelson
            ankit_frenz Ankit Agarwal
            Ankit Agarwal Ankit Agarwal
            Dan Poltawski Dan Poltawski
            Andrew Davis Andrew Davis
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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