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

Update "questionnaire_get_recent_mod_activity" to new style

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1
    • 2.9.7, 3.0.5, 3.1
    • Module: Questionnaire
    • None

      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

            mchurch Mike Churchward
            mchurch Mike Churchward
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.