Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
526fe7d8
Commit
526fe7d8
authored
May 02, 2009
by
stronk7
Browse files
MDL-18577 drop enums support - step3: deprecate old change_field_enum() use
by new drop_enum_from_field() available in 2.0
parent
ae5a3939
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/deprecatedlib.php
View file @
526fe7d8
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment