Moodle

should not use events for messaging in moodle core - use function message_send() function instead

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Events API, Messages
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

This was discussed before several times, we can not use events for core->core communication, events were designed for communication "moodle->external systems"
Going to introduce new function message_send() and use it instead of event_trigger() which should give us more freedom, better performance, etc. in future

Activity

Hide
Petr Škoda (skodak) added a comment -

done

Show
Petr Škoda (skodak) added a comment - done

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: