Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6475

Update "questionnaire_get_recent_mod_activity" to new style

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.7, 3.0.5, 3.1
    • Fix Version/s: 3.1
    • Component/s: Module: Questionnaire
    • Labels:
      None

      Description

      Sometime during the 2.6 release of Moodle, the "course_modinfo" class in "/lib/modinfo.php" had many of its properties changed from "public" to "private". Prior to that, it was common for modules to directly access the "groups" property in the "[modname]_get_recent_mod_activity". During 2.6, the "private" change meant that code could no longer directly access the "groups" property, and the "[modname]_get_recent_mod_activity" was rewritten. This function was never updated in questionnaire and needs to be done.

      Reference from forum module:
      2.5 - https://github.com/mchurchward/moodle/blob/MOODLE_25_STABLE/mod/forum/lib.php#L5970
      2.6 - https://github.com/mchurchward/moodle/blob/MOODLE_26_STABLE/mod/forum/lib.php#L6078

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mchurch Mike Churchward
              Reporter:
              mchurch Mike Churchward
              Participants:
              Component watchers:
              Mike Churchward
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                23/May/16