Moodle
  1. Moodle
  2. MDL-34434

META: Collect together deprecated code changes for Moodle 2.6

    Details

    • Affected Branches:
      MOODLE_24_STABLE
    • Story Points:
      40
    • Rank:
      163
    • Sprint:
      BACKEND Sprint 2

      Description

      There are a number of parts of the Moodle codebase that have been marked as deprecated as a warning to developers not to use these functions as they will be removed in future. Many have a deadline of 2.6.

      Each of these deprecated functions, especially those in Moodle core code, should have an MDL issue associated with it.

      In order to time the removal of these deprecated function issues and not lose sight of them, this issue will be used to collect them together.

        Issue Links

        Progress
        Resolved Sub-Tasks

        Sub-Tasks

        1.
        Add deprecate warning to get_context_instance() function Sub-task Closed Ankit Agarwal
         
        2.
        Deprecate get_context_instance_by_id() Sub-task Closed Rajesh Taneja
         
        3.
        remove message_get_my_providers() from lib/messagelib.php Sub-task Closed Andrew Davis
         
        4.
        Change the texts saying that we'll be removing web service deprecated functions in 2.2 Sub-task Closed Jérôme Mouneyrac
         
        5.
        Remove deprecated icons Sub-task Closed Frédéric Massart
         
        6.
        Remove grade_report_grader::get_toggles_html() and grade_report_grader::print_toggle() Sub-task Closed Rajesh Taneja
         
        7.
        Remove load_temp_role() and remove_temp_roles() in accesslib.php Sub-task Closed Rajesh Taneja
         
        8.
        Deprecate get_system_context() Sub-task Closed Ankit Agarwal
         
        9.
        Deprecate get_parent_contexts() Sub-task Closed Frédéric Massart
         
        10.
        Deprecate get_parent_contextid() Sub-task Closed Rajesh Taneja
         
        11.
        Deprecate get_child_contexts() Sub-task Closed Frédéric Massart
         
        12.
        Deprecate create_contexts(), cleanup_contexts() , build_context_path(), rebuild_contexts() Sub-task Closed Frédéric Massart
         
        13.
        Deprecate preload_course_contexts() Sub-task Closed Rajesh Taneja
         
        14.
        Deprecate context_moved() Sub-task Closed Rajesh Taneja
         
        15.
        Deprecate context_instance_preload() Sub-task Closed Ankit Agarwal
         
        16.
        Deprecate get_contextlevel_name() Sub-task Closed Adrian Greeve
         
        17.
        Deprecate print_context_name() Sub-task Closed Adrian Greeve
         
        18.
        Deprecate mark_context_dirty() Sub-task Closed Adrian Greeve
         
        19.
        Deprecate delete_context() Sub-task Closed Rajesh Taneja
         
        20.
        Deprecate get_context_url() Sub-task Closed Mark Nelson
         
        21.
        Deprecate get_course_context() Sub-task Closed Mark Nelson
         
        22.
        Deprecate get_user_courses_bycap() Sub-task Closed Ankit Agarwal
         
        23.
        Deprecate fetch_context_capabilities() Sub-task Closed Frédéric Massart
         
        24.
        Deprecate get_role_context_caps() Sub-task Closed Rajesh Taneja
         
        25.
        Deprecate get_courseid_from_context() Sub-task Closed Frédéric Massart
         
        26.
        Add proper deprecation debugging to ye olde deprecations Sub-task Closed Dan Poltawski
         
        27.
        Deprecate get_related_contexts_string() Sub-task Closed Mark Nelson
         
        28.
        The recent activity block throws a debugging message due to deprecated method usage. Sub-task Closed Mark Nelson
         
        29.
        Deprecate context_instance_preload_sql() Sub-task Closed Frédéric Massart
         
        30.
        Remove untracked <2.0 dead code (throwing fatal errors if called) Sub-task Closed Dan Poltawski
         
        31.
        Do final deprecation for Moodle 2.0 deprecations Sub-task Closed Dan Poltawski
         
        32.
        Deprecate get_sorted_contexts() Sub-task Closed Frédéric Massart
         
        33.
        Final deprecation step for isediting. Sub-task Closed Sam Hemelryk
         

          Activity

          Hide
          Rajesh Taneja added a comment -

          Rebased 7. Remove load_temp_role() and remove_temp_roles() in accesslib.php on top of integration to start individual re-base work.

          Show
          Rajesh Taneja added a comment - Rebased 7. Remove load_temp_role() and remove_temp_roles() in accesslib.php on top of integration to start individual re-base work.
          Hide
          Michael de Raadt added a comment -

          As all sub-tasks of this issue are now resolved, I'm closing this META.

          Show
          Michael de Raadt added a comment - As all sub-tasks of this issue are now resolved, I'm closing this META.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Agile