Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-1613

When marking students as "seen", teacher receives a notification e-mail

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.5
    • Fix Version/s: None
    • Component/s: Module: Scheduler
    • Labels:
      None
    • Environment:
      Ubuntu Server 8.04 LTS
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      When the teacher marks a student as "seen" in the main teacher view, and notifications are enabled, he receives a notification e-mail that the appointment has been "cancelled or moved". This is apparently incorrect.

      The e-mail is generated in the function scheduler_delete_calendar_events() in locallib.php. It seems that this part of the code is executed only in the above case. (The notification sent when a student cancels the appointment is generated in a different part of the code.) In any case, it seems highly unexpected that scheduler_delete_calendar_events(), which is supposed to modify the calendar, has the side effect of sending e-mails.

      I therefore propose to remove the part of the code that sends this e-mail; see patch attached.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: