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

Do not call grandparent constructor in form elements

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1
    • None
    • Forms Library
    • None
    • MOODLE_31_STABLE

    Description

      During MDL-52081 it was noticed that the form elements often call constructor of a grandparent instead of parent. This is not a good coding style and is probably result of copy-pasting the code with php4-style constructors where constructor was called by name

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marina Marina Glancy
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: