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

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0
    • 3.1
    • 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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              lameze Simey Lameze
              marina Marina Glancy
              cameron1729 cameron1729
              Dan Poltawski Dan Poltawski
              Mark Nelson Mark Nelson
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                23/May/16