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

Improve the get_my_courses() behaviour

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              lazyfish Yu Zhang
              stronk7 Eloy Lafuente (stronk7)
              Nobody Nobody
              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:
                11/Oct/07