function _filefield_update_6001_drop_operation in FileField 6.3
Drop the list and description columns.
1 string reference to '_filefield_update_6001_drop_operation'
- filefield_update_6001 in ./
filefield.install - Upgrade FileField to Drupal 6.
File
- ./
filefield.install, line 357
Code
function _filefield_update_6001_drop_operation($field, &$context) {
$ret = array();
$db_info = content_database_info($field);
// TODO: Now that the data has been migrated we can drop the columns.
db_drop_field($ret, $db_info['table'], $db_info['columns']['description']['column']);
$context['finished'] = 1;
}