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

Final deprecation of participants unified filter

    XMLWordPrintable

Details

    • MOODLE_401_STABLE
    • MDL-68868-master
    • Hide
      1. Open a terminal and go to your moodle instance's root directory.
      2. Search for unified_filter through the codebase

        git grep unified_filter
        

      3. Confirm that the only instances returned are from
        • user/renderer.php - in the unified_filter() method which now throws a coding exception
        • user/upgrade.txt - which notes about final deprecation
      4. Search for MDL-68868 from the codebase

        git grep MDL-68868
        

      5. Confirm that no instances are returned.
      Show
      Open a terminal and go to your moodle instance's root directory. Search for unified_filter through the codebase git grep unified_filter Confirm that the only instances returned are from user/renderer.php - in the unified_filter() method which now throws a coding exception user/upgrade.txt - which notes about final deprecation Search for MDL-68868 from the codebase git grep MDL-68868 Confirm that no instances are returned.
    • 2
    • Team Hedgehog 4.1 sprint 0.4B, Team Hedgehog 4.1 sprint 0 rev

    Description

      The following final deprecations need to be performed in relation to the old participants unified filter, which was replaced by the participants filter and table filtersets in Moodle 3.9 under MDL-68612.

      JavaScript
      The following can be removed:

      • user/amd/src/unified_filter.js
      • user/amd/src/unified_filter_datasource.js

      Mustache

      • user/templates/unified_filter.mustache can be removed.

      Renderer

      • user/classes/output/unified_filter.php should follow final deprecation procedures as per MDLSITE-6729 (ie be completely removed).

      Renderable

      • In user/renderer.php, the unified_filter() function only should follow final deprecation procedures (eg throw an exception).

      Other related deprecations performed in MDL-68612 are already covered by other general 4.3 final deprecation issues (library functions in MDL-67345, string in MDL-67347).

      Attachments

        Issue Links

          Activity

            People

              david.woloszyn@moodle.com David Woloszyn
              michaelh Michael Hawkins
              Huong Nguyen Huong Nguyen
              Jun Pataleta Jun Pataleta
              John Edward Pedregosa John Edward Pedregosa
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 45 minutes
                  5h 45m