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

Incorrect documentation for get_enabled_plugins()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.1.2, 3.2
    • Fix Version/s: 3.1.4
    • Component/s: Web Services
    • Labels:

      Description

      The documentation for the return value of \core\plugininfo\webservice::get_enabled_plugins() says:

      array|null of enabled plugins $pluginname=>$pluginname, null means unknown

      This doesn't match the code, which always returns an array.

        Attachments

          Activity

            People

            Assignee:
            maherne Michael Aherne
            Reporter:
            maherne Michael Aherne
            Peer reviewer:
            Ankit Agarwal
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Mark Nelson
            Participants:
            Component watchers:
            Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Jan/17