Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-4689

Policy about function parameters on final deprecation

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: Integration
    • Labels:

      Description

      Hello all,

      I have a question about final deprecation. I would like to ask what our policy is when it comes to the deprecated function parameters. I see some function parameters removed when they are finally deprecated, and some have the parameters retained.

      I checked the dev docs, but there seems to be no explicit mention on what to do about function parameters.
      The wording

      All content of the function is removed...

      seems to be a little vague. Some might interpret the 'content' of the function as the contents in the function's body and does not include the function parameters (like I do), while others might consider the 'content' includes the function parameters as well.

      It would be nice we if could decide on a clear policy about function parameters when doing final deprecation and update the dev docs, whenever necessary.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jpataleta Jun Pataleta
              Participants:
              Component watchers:
              Eloy Lafuente (stronk7)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: