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

Refactor code around get_fast_modinfo to improve quality, add plugin hooks

    XMLWordPrintable

    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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              quen Sam Marshall
              Reporter:
              quen Sam Marshall
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

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