MDL-36712: Assignment - Do not always send feedback available emails when grade is...
commit3f1b2800ae47ac50fb8fe67176efb6861e72a806
authorDamyon Wiese <damyon@moodle.com>
Wed, 21 Nov 2012 08:26:47 +0000 (21 16:26 +0800)
committerDamyon Wiese <damyon@moodle.com>
Fri, 4 Jan 2013 07:02:50 +0000 (4 15:02 +0800)
tree8550971fbc6bb59aace5ee194f95838d53bfd4ed
parent10ad21dc9a50c4720bf69fa0224eeb28a892e997
MDL-36712: Assignment - Do not always send feedback available emails when grade is created

The entry in the assign_grades table contains grades feedback and other settings such as locked.
Only send the student an email about new feedback if it is actually grades or feedback that
has been added. This is done by using another state for the mailed flag (2) which means "unset".

Conflicts:

mod/assign/feedback/file/importziplib.php
mod/assign/feedback/file/locallib.php
mod/assign/feedback/offline/locallib.php
mod/assign/locallib.php
mod/assign/locallib.php