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

Phase 2 of deprecation of functions in lib/deprecatedlib.php initially deprecated in 3.11

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Minor
    • 4.3
    • 3.11, 4.3
    • General
    • MOODLE_311_STABLE, MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • Hide
      1. Confirm the following returns only upgrade notes and deprecated methods (whose body is only a thrown exception):

        $ git grep -A1 "\(get_extra_user_fields\|get_user_field_name\|get_all_user_name_fields\)"
        

      2. Confirm the same for the following:

        $ git grep -A4 "user_get_\(total_participants\|participants\)"
        

      Show
      Confirm the following returns only upgrade notes and deprecated methods (whose body is only a thrown exception): $ git grep -A1 "\(get_extra_user_fields\|get_user_field_name\|get_all_user_name_fields\)" Confirm the same for the following: $ git grep -A4 "user_get_\(total_participants\|participants\)"

    Description

      As per https://docs.moodle.org/dev/Deprecation all functions in lib/deprecatedlib.php that were deprecated in 3.11 should be replaced with exceptions in 4.3.

      This includes all functions in lib/deprecatedlib.php that say @deprecated since 3.11 (or earlier).

      If any functions from this file do not have this comment but also need to be finally deprecated in 4.3 - please list them in this issue description.

      Attachments

        1. (I) Passed -- (Master)MDL-70187.png
          108 kB
          Kim Jared Lucas
        2. (II) Passed -- (Master)MDL-70187.png
          136 kB
          Kim Jared Lucas

        Issue Links

          Activity

            People

              pholden Paul Holden
              stronk7 Eloy Lafuente (stronk7)
              Andrew Lyons Andrew Lyons
              Jun Pataleta Jun Pataleta
              Kim Jared Lucas Kim Jared Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 13 minutes
                  2h 13m

                  Clockify

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