Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
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 |