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

Refactor events and completion code for mod_forum

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1
    • None
    • Forum
    • MOODLE_31_STABLE

    Description

      Currently the code for forum completion and events is duplicated in several places. Example:

      mod/forum/classes/message/inbound/reply_handler.php:        $event = \mod_forum\event\post_created::create($params);
      mod/forum/externallib.php:            $event = \mod_forum\event\post_created::create($params);
      mod/forum/post.php:            $event = \mod_forum\event\post_created::create($params);
      

      It should all be done consitently in one place.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cameron1729 cameron1729
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: