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

new completion events have "new get_string(...)" - get_string is a method not a class.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Events API
    • Labels:
    • Story Points:
      1
    • Sprint:
      BACKEND Sprint 4

      Description

      grep -r "new get_string" *

      lib/classes/event/course_completed.php: return new get_string('eventcoursecompleted', 'core_completion');
      lib/classes/event/course_completion_updated.php: return new get_string('eventcoursecompletionupdated', 'core_completion');
      lib/classes/event/course_module_completion_updated.php: return new get_string('eventcoursemodulecompletionupdated', 'core_completion');

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              damyon Damyon Wiese
              Peer reviewer:
              Frédéric Massart
              Integrator:
              Dan Poltawski
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13