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

Patch to make comments API more flexible and less dependent on the comments block

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.1
    • Component/s: Comments
    • Labels:
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE

      Description

      The attached patch is designed to make the comments API more flexible and usable by moving some of its hard coded options to proper options.
      The hard coded checks for the comments block can then be replaced by checks for these options.
      It also moves some of the smarts of the output function into separate functions.

      This is required for the new plugins plugin (replacement for the modules and plugins database).

      Cheers
      Sam

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  1/Jul/11