You are here

function media_update_7218 in D7 Media 7.3

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

Drop the legacy {cache_media_xml} table.

File

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

Code

function media_update_7218() {
  if (db_table_exists('cache_media_xml')) {
    db_drop_table('cache_media_xml');
  }
  variable_del('media__xml_cache_expire');
}