Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.1
    • 2.6
    • Libraries
    • MOODLE_23_STABLE
    • MOODLE_26_STABLE
    • wip-mdl-35009
    • 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).
    • 1
    • 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

              rajeshtaneja Rajesh Taneja
              ankit_frenz Ankit Agarwal
              Ankit Agarwal Ankit Agarwal
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Mark Nelson Mark Nelson
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13