function media_uninstall in D7 Media 7.2
Same name and namespace in other branches
- 7.4 media.install \media_uninstall()
- 7 media.install \media_uninstall()
- 7.3 media.install \media_uninstall()
Implements hook_uninstall().
File
- ./
media.install, line 49 - Install, update and uninstall functions for the Media module.
Code
function media_uninstall() {
// Remove variables.
variable_del('media_dialog_theme');
variable_del('media_icon_base_directory');
variable_del('media_icon_set');
variable_del('media_show_deprecated_view_modes');
// Dialog options.
variable_del('media_dialogclass');
variable_del('media_modal');
variable_del('media_draggable');
variable_del('media_resizable');
variable_del('media_minwidth');
variable_del('media_width');
variable_del('media_height');
variable_del('media_position');
variable_del('media_zindex');
variable_del('media_backgroundcolor');
variable_del('media_opacity');
// bulk edit option
variable_del('media_bulk_upload_edit');
}