Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.6
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide

      No real testing required. Just grep for get_context_instance_by_id and make sure it's only defined in lib/deprecationlib.php (and 1 occurrence in lib/tests/accesslib_test.php where the debugging behavior is covered).

      Show
      No real testing required. Just grep for get_context_instance_by_id and make sure it's only defined in lib/deprecationlib.php (and 1 occurrence in lib/tests/accesslib_test.php where the debugging behavior is covered).
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      wip-mdl-35009
    • Story Points:
      1
    • Sprint:
      BACKEND Sprint 2

      Description

      Deprecate get_context_instance_by_id()
      As discussed in MDL-34472 this function's usage was removed from core in 2.4 . But since this function was used everywhere, the deprecation warning was not added in 2.4 . The warning should be added to the function before 2.6, in this issue. Later the function definition should be removed from core in 2.8

      Thanks

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/13