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

IMS enrolment in 1.7dev (2006092800) uses PHP5 syntax

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7
    • Component/s: Enrolments
    • Labels:
      None
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE

      Description

      IMS enrolment plugin is using some language constructs that are only available in PHP5, but 1.7 is supposed to work with 4.3.x or later.

      Namely it's using the 'public static' qualifier for '$imsroles' class variable and 'determine_defalt_rolemapping()' class function. It also breaks in PHP 4.3.10 withe the use of the scope resolution operator for 'enrolment_plugin_imsenterprise::$imsroles' in a couple of places, although it should work, according to PHP manuals.

      The errors prevent from displaying the enrolment configuration page.

      Saludos. Iñaki.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  7/Nov/06