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

Replace Legacy events - Cohort

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: Events API
    • Labels:
    • Story Points:
      8
    • Sprint:
      BACKEND Sprint 3

      Description

      Replace all legacy events related to cohort.
      cohort/lib.php: events_trigger('cohort_added', $cohort);
      cohort/lib.php: events_trigger('cohort_updated', $cohort);
      cohort/lib.php: events_trigger('cohort_deleted', $cohort);
      cohort/lib.php: events_trigger('cohort_member_added', (object)array('cohortid'=>$cohortid, 'userid'=>$userid));
      cohort/lib.php: events_trigger('cohort_member_removed', (object)array('cohortid'=>$cohortid, 'userid'=>$userid));

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              ankit_frenz Ankit Agarwal
              Peer reviewer:
              Mark Nelson
              Integrator:
              Damyon Wiese
              Tester:
              Andrew Davis
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13