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

Remove events_trigger_legacy() for groups from core

    XMLWordPrintable

    Details

    • Sprint:
      BACKEND Sprint 19, 3.1 Stable Sprint 2, 3.1 Sprint 3
    • Issue size:
      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

              Assignee:
              ankit_frenz Ankit Agarwal
              Reporter:
              fred Frédéric Massart
              Peer reviewer:
              Simey Lameze
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              CiBoT
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/18