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

Remove events_trigger_legacy() for groups from core

    XMLWordPrintable

Details

    • BACKEND Sprint 19, 3.1 Stable Sprint 2, 3.1 Sprint 3
    • Small

    Description

      Some events_trigger() were left for backwards compatibility because they cannot be replaced by a new event as they are wrong (bulk events).

      They should be removed during 2.7-dev for 2.8 release.

      See group/lib.php:

      • groups_delete_group_members() > groups_members_removed
      • groups_delete_groupings_groups() > groups_groupings_groups_removed
      • groups_delete_groups() > groups_groups_deleted
      • groups_delete_groupings() > groups_groupings_deleted

      $ git grep MDL-41312
      group/lib.php:    // TODO MDL-41312 Remove events_trigger_legacy('groups_members_removed').
      group/lib.php:    // TODO MDL-41312 Remove events_trigger_legacy('groups_groupings_groups_removed').
      group/lib.php:    // TODO MDL-41312 Remove events_trigger_legacy('groups_groups_deleted').
      group/lib.php:    // TODO MDL-41312 Remove events_trigger_legacy('groups_groupings_deleted').
      

      Attachments

        Issue Links

          Activity

            People

              ankit_frenz Ankit Agarwal
              fred Frédéric Massart
              Simey Lameze Simey Lameze
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              CiBoT CiBoT
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/May/18