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

Remove the check for $activities being a course_modinfo object in navigationlib.php

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.3
    • Component/s: Navigation
    • Labels:

      Description

      $activities should always be an array and we should no longer check for it being a course_modinfo object.

      This issue has been generated to ensure that all @todo lines in the api block have issue numbers associated with them.
      This is on line 1712 of navigationlib.php - protected function load_section_activities.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  25/Jun/12