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

Add event when a message is deleted

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Blocker
    • 3.0
    • 2.9
    • Messages
    • MOODLE_29_STABLE
    • MOODLE_30_STABLE
    • MDL-51312_master
    • Hide
      Test 1
      1. Log in as a user (user1).
      2. Send a message to another user (user2).
      3. As user1 delete this message.
      4. Log in as user2 and delete the message.
      5. Check the site logs and confirm there are two events and that the descriptions are different (as one user deleted a message they sent and another they received).
      Test 2
      1. Run the unit tests in message/tests/events_test.php.
      Show
      Test 1 Log in as a user (user1). Send a message to another user (user2). As user1 delete this message. Log in as user2 and delete the message. Check the site logs and confirm there are two events and that the descriptions are different (as one user deleted a message they sent and another they received). Test 2 Run the unit tests in message/tests/events_test.php.
    • Team Both Sprint 1

    Description

      After MDL-29801 was introduced we now have the ability to delete messages - it would be beneficial to have a message_deleted event for when this happens.

      Attachments

        Issue Links

          Activity

            People

              markn Mark Nelson
              markn Mark Nelson
              Simey Lameze Simey Lameze
              Dan Poltawski Dan Poltawski
              Adrian Greeve Adrian Greeve
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                16/Nov/15