function file_admin_uninstall in File admin 7
Implements hook_uninstall().
File
- ./
file_admin.install, line 29 - Installation file for file_admin module.
Code
function file_admin_uninstall() {
$file_admin_schema = array();
file_admin_schema_alter($file_admin_schema);
$fields = array_keys($file_admin_schema['file_managed']['fields']);
foreach ($fields as $field) {
db_drop_field('file_managed', $field);
}
// TODO: delete variables.
}