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

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • Libraries
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE
    • Easy

    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

            samhemelryk Sam Hemelryk
            samhemelryk Sam Hemelryk
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              21/Feb/11