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

Remove the protected keyword from moodle 1.9.X

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.7
    • Fix Version/s: 1.9.8
    • Component/s: General
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Moodle 1.9.X only requires php 4. Moodle 2 requires php 5. http://docs.moodle.org/en/admin/environment/php

      Support for access level keywords (public, protected, private) wasnt added until php 5. Thus the protected keyword shouldn't appear anywhere in moodle 1.9.X

      There's at least one instance. grade/report/lib.php line 333. A quick search turned up a second instance in lib/simpletestlib/exceptions.php at line 118

        Attachments

          Activity

            People

            Assignee:
            andyjdavis Andrew Davis
            Reporter:
            andyjdavis Andrew Davis
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              25/Mar/10