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

Remove events_trigger_legacy() for groups from core

XMLWordPrintable

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

      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').
      

            ankit_frenz Ankit Agarwal
            fred Frédéric Massart
            Simey Lameze Simey Lameze
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.