mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-9848 eventslib improvements and cleanup
This commit is contained in:
parent
cd26d8e047
commit
d46306de6a
10 changed files with 534 additions and 227 deletions
|
@ -1292,6 +1292,16 @@ function xmldb_main_upgrade($oldversion=0) {
|
|||
}
|
||||
}
|
||||
|
||||
if ($result && $oldversion < 2007052200) {
|
||||
|
||||
/// Define field schedule to be dropped from events_queue
|
||||
$table = new XMLDBTable('events_queue');
|
||||
$field = new XMLDBField('schedule');
|
||||
|
||||
/// Launch drop field stackdump
|
||||
$result = $result && drop_field($table, $field);
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue