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

Deprecation policy does not detail what to do with deprecated classes for final deprecation

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.0
    • None
    • Policy
    • None

    Description

      The Deprecation policy (https://docs.moodle.org/dev/Deprecation#Step_1._Immediate_action) is very outdated and it does not state what to do with a class which has been finally deprecated.

      The options are really:

      1. remove them
      2. make them throw an exception but keep them around
      3. something else I haven't thought of

      I'd prefer the first option of removing them, but we should probably stay in keeping with the global function section of the Deprecation policy which states that a function should throw an Exception.

      Balsamiq Wireframes

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                dobedobedoh Andrew Lyons
                Adrian Greeve, Andrew Lyons, Eloy Lafuente (stronk7), Juan Leyva, Jun Pataleta, Sander Bangma
                Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated: