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

Improve the get_my_courses() behaviour

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.3, 1.9
    • 1.8.2, 1.9
    • Enrolments
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      Current get_my_courses() implementation can perform a bit better caching:

      1) Modify get_my_courses to ALWAYS fetch (an cache) ALL the user courses and return from cache respecting limit. -> Yu
      2) Modify the my/index.php call to add the modinfo field (won't use the cache, obviously) -> Eloy
      3) Modify as many get_my_courses() calls to use the default fields (because they are cached) -> Eloy

            lazyfish Yu Zhang
            stronk7 Eloy Lafuente (stronk7)
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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