Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-26263 Standardise use of the cm_info object and fix type hinting where stdClass is still being used.
  3. MDL-26264

class cm_info and class course_modinfo should both extend stdClass to prevent type hinting errors

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Libraries
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Talking to Petr both cm_info and course_modinfo should extend stdClass.
      The fix for this will also be immediately integrated and released.

      Cheers
      Sam

        Attachments

          Activity

            People

            • Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              samhemelryk Sam Hemelryk
              Tester:
              David Mudrák (@mudrd8mz)
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                21/Feb/11