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

Missing namespace for $OUTPUT->notify_message()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.2
    • Fix Version/s: 2.9.3
    • Component/s: Libraries
    • Labels:

      Description

      This function doesn't actually seem to be used anywhere in Moodle core (at least in 2.9.2), which would explain why this hasn't been spotted yet, but I just tried to use it in a local plugin and got:
      "Fatal error: Class 'notification' not found in /home/tony/git/services/moodle/lib/outputrenderers.php on line 2827".

        Attachments

          Activity

            People

            • Assignee:
              tonybutler Tony Butler
              Reporter:
              tonybutler Tony Butler
              Peer reviewer:
              Marina Glancy
              Integrator:
              Andrew Nicols
              Tester:
              Andrew Nicols
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, 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:
                9/Nov/15