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

Replace Legacy events - Cohort

    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 (Obsolete):
      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));

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

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