MDL-40055 mod_assign: Setting level according to new event constants

This commit is contained in:
Frederic Massart 2013-08-21 14:28:38 +08:00
parent 5e8eb969e0
commit 959a328472
12 changed files with 12 additions and 12 deletions

View file

@ -85,7 +85,7 @@ class submission_graded extends \core\event\base {
*/
protected function init() {
$this->data['crud'] = 'u';
$this->data['level'] = 50; // TODO MDL-41040.
$this->data['level'] = self::LEVEL_TEACHING;
$this->data['objecttable'] = 'assign_grades';
}