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

Refactor code around get_fast_modinfo to improve quality, add plugin hooks

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Course
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      After earlier work (see MDL-24631) and discussion with interested people (including key suggestions from Petr), we came up with a new proposal to improve get_fast_modinfo:

      http://docs.moodle.org/en/Development:Module_visibility_and_display

      This bug is about implementing the parts of that proposal which only clean up existing behaviour and provide a few extra hooks for plugin developers, without adding any new features or changing the way standard Moodle works; in other words, with no change to the logic about visibility.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    21/Feb/11