You are here

function media_update_7014 in D7 Media 7

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

Rename the media__dialog_get_theme_name variable to media__dialog_theme.

File

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

Code

function media_update_7014() {
  if ($old_value = variable_get('media__dialog_get_theme_name')) {
    variable_del('media__dialog_get_theme_name');
    variable_set('media__dialog_theme', $old_value);
  }
}