Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Class to manage upgrades from mod_assignment to mod_assign. More...
Public Member Functions | |
upgrade_assignment ($oldassignmentid, & $log) | |
This function converts all of the base settings for an instance of the old assignment to the new format. More... | |
Class to manage upgrades from mod_assignment to mod_assign.
assign_upgrade_manager::upgrade_assignment | ( | $oldassignmentid, | |
& | $log | ||
) |
This function converts all of the base settings for an instance of the old assignment to the new format.
Then it calls each of the plugins to see if they can help upgrade this assignment.
int | $oldassignmentid | (don't rely on the old assignment type even being installed) |
string | $log | This string gets appended to during the conversion process |
bool | true or false |