You are here

function media_update_7223 in D7 Media 7.3

Same name and namespace in other branches
  1. 7.4 media.install \media_update_7223()
  2. 7.2 media.install \media_update_7223()

Delete legacy variables.

File

./media.install, line 1144
Install, update and uninstall functions for the Media module.

Code

function media_update_7223() {
  variable_del('media__max_filesize');
  variable_del('media__debug');
  variable_del('media__xml_cache_expire');
  variable_del('media__show_file_type_rebuild_nag');
  variable_del('media__field_select_media_text');
  variable_del('media__field_remove_media_text');
  variable_del('media__browser_library_empty_message');
  variable_del('media__browser_pager_limit');
  variable_del('media__browser_viewtype_default');
}