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

Phase 2 of deprecation of functions in lib/deprecatedlib.php in 3.1

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1
    • 3.0
    • General
    • MOODLE_30_STABLE
    • MOODLE_31_STABLE
    • MDL-50050-master
    • Hide
      1. Do a grep of the following functions:
        • profile_display_badges()
        • useredit_shared_definition_preferences()
        • calendar_normalize_tz()
        • get_user_timezone_offset()
        • get_timezone_offset()
        • get_list_of_timezones()
        • calculate_user_dst_table()
        • dst_changes_for_year()
        • get_timezone_record()
        • test_get_list_of_timezones() in lib/tests/date_legacy_test.php
        • test_get_timezone_offset() in lib/tests/date_legacy_test.php
        • test_get_user_timezone_offset() in lib/tests/date_legacy_test.php

      Make sure they are not used outside lib/deprecatedlib.php or lib/upgrade.txt.

      Show
      Do a grep of the following functions: profile_display_badges() useredit_shared_definition_preferences() calendar_normalize_tz() get_user_timezone_offset() get_timezone_offset() get_list_of_timezones() calculate_user_dst_table() dst_changes_for_year() get_timezone_record() test_get_list_of_timezones() in lib/tests/date_legacy_test.php test_get_timezone_offset() in lib/tests/date_legacy_test.php test_get_user_timezone_offset() in lib/tests/date_legacy_test.php Make sure they are not used outside lib/deprecatedlib.php or lib/upgrade.txt.
    • 3.1 Sprint 6

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

      Make sure MDL-50049 is completed, otherwise remove body of functions deprecated earlier if needed

      This includes all functions in lib/deprecatedlib.php that say @deprecated since 2.9

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

            lameze Simey Lameze
            marina Marina Glancy
            cameron1729 cameron1729
            Dan Poltawski Dan Poltawski
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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