mirror of
https://github.com/moodle/moodle.git
synced 2025-04-25 10:26:17 +02:00
MDL-18472 fixed missing argument in deprecated function, thanks Gordon Bateson
This commit is contained in:
parent
0362f01320
commit
fe772c2aa7
@ -709,7 +709,7 @@ function change_field_default($table, $field) {
|
||||
function rename_field($table, $field, $newname) {
|
||||
global $DB;
|
||||
debugging('Deprecated ddllib function used!');
|
||||
$DB->get_manager()->rename_field($table, $field);
|
||||
$DB->get_manager()->rename_field($table, $field, $newname);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user