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

Replace Legacy events - Completion

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.6
    • Events API
    • MOODLE_25_STABLE
    • MOODLE_26_STABLE
    • wip-mdl-39955
    • Hide

      Run unit test

      1. lib/tests/completionlib_test.php
      2. badges/tests/badgeslib_test.php

      Test 2:

      1. Enable badges and completion
      2. Set badge to be issued on completion
      3. Complete activity and course and make sure badge is issued to user.
      Show
      Run unit test lib/tests/completionlib_test.php badges/tests/badgeslib_test.php Test 2: Enable badges and completion Set badge to be issued on completion Complete activity and course and make sure badge is issued to user.
    • 20
    • BACKEND Sprint 3

    Description

      Replace all legacy events related to completion.
      lib/completionlib.php: events_trigger('activity_completion_changed', $data);
      completion/completion_completion.php: events_trigger('course_completed', $this->get_record_data());

      Attachments

        Issue Links

          Activity

            People

              rajeshtaneja Rajesh Taneja
              ankit_frenz Ankit Agarwal
              Mark Nelson Mark Nelson
              Sam Hemelryk Sam Hemelryk
              David Monllaó David Monllaó
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13