mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Cleaning of unnecessary 4th fields in the insert_record() function.
See http://moodle.org/bugs/bug.php?op=show&bugid=4583 for more information.
This commit is contained in:
parent
8794f8bff0
commit
4d69a487e4
@ -801,7 +801,7 @@ function main_upgrade($oldversion=0) {
|
||||
if ($oldversion < 2004072901) { // Fixing error in schema
|
||||
if ($record = get_record('log_display', 'module', 'course', 'action', 'update')) {
|
||||
delete_records('log_display', 'module', 'course', 'action', 'update');
|
||||
insert_record('log_display', $record, false, 'module');
|
||||
insert_record('log_display', $record, false');
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -543,7 +543,7 @@ function main_upgrade($oldversion=0) {
|
||||
if ($oldversion < 2004072901) { // Fixing error in schema
|
||||
if ($record = get_record('log_display', 'module', 'course', 'action', 'update')) {
|
||||
delete_records('log_display', 'module', 'course', 'action', 'update');
|
||||
insert_record('log_display', $record, false, 'module');
|
||||
insert_record('log_display', $record, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user