mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 18:04:43 +02:00
MDL-18577 drop enums support - step3: deprecate old change_field_enum() use
by new drop_enum_from_field() available in 2.0
This commit is contained in:
parent
ae5a39398b
commit
526fe7d8da
@ -694,8 +694,8 @@ function change_field_notnull($table, $field) {
|
||||
|
||||
function change_field_enum($table, $field) {
|
||||
global $DB;
|
||||
debugging('Deprecated ddllib function used!');
|
||||
$DB->get_manager()->change_field_enum($table, $field);
|
||||
debugging('Deprecated ddllib function used! Only dropping of enums is allowed.');
|
||||
$DB->get_manager()->drop_enum_from_field($table, $field);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user