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

The function message_count_unread_messages counts sent messages

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.5.1, 3.6
    • 3.5.3
    • Messages

    Description

      message_count_unread_messages (used in course overview block) gives wrong message count when only one user is supplied, because it counts even sent messages. If both users are supplied, it works correctly.

      This function was previously used by Course overview legacy block, now it's gone. We're still using it in our installation, and i'm unsure if it's currently used by any other plugin. But the described function misbehaves anyway.

      Attachments

        Issue Links

          Activity

            People

              markn Mark Nelson
              pavel.m.sokolov Pavel Sokolov
              Mark Nelson Mark Nelson
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              CiBoT CiBoT
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Nov/18