MDL-55956 mod_assign: Remove calendar events with 'open' eventtype
authorJun Pataleta <jun@moodle.com>
Fri, 3 Mar 2017 08:19:49 +0000 (16:19 +0800)
committerJun Pataleta <jun@moodle.com>
Tue, 7 Mar 2017 03:33:17 +0000 (11:33 +0800)
commitf7a9bca847b46bef4351711b066664645ab996ca
tree6d9031289d69555ccdbe61764ec00344eeea0473
parentf52459bbbe02fe07fb277a90dc70b2d4531f5948
MDL-55956 mod_assign: Remove calendar events with 'open' eventtype

Remove creation of calendar events for mod_assign with
eventtype = 'open'. Since mod_assign instance creation only creates a
calendar event for the due date, there's no point in creating an override
event for an event type that does not exist.
mod/assign/db/upgrade.php
mod/assign/lib.php
mod/assign/upgrade.txt