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

Add a cron function to discard messages which are older than site-specified threshold

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.9.5, 2.0, 3.3.3, 3.4
    • Fix Version/s: None
    • Component/s: Messages
    • Labels:
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE

      Description

      It appears that messages block retains all messages for ever. However, by their nature, most messages are meant as a short-term communication, and many sites have no need to retain them for ever, particularly sites with a lot of message traffic.

      Not deleting them may remain the default setting, but for some sites, it may be useful and practical to be able to automatically discard messages which are too old. I am not sure whether setting the cutoff belongs in the configuration settings for the messages block (there is none) or on the cleanup page in the server group. My first impuls would be the latter since it is a global setting.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            robek Robert Brenstein
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: