You are here

function jw_player_update_7001 in JW Player 7.2

Drop out dated integration for cloud hosted players and notify user.

File

./jw_player.install, line 123
Install, update and uninstall functions for the JW Player module.

Code

function jw_player_update_7001() {
  if (variable_get('jw_player_account_token', FALSE)) {
    drupal_set_message(t('JW Player has changed its way to run cloud hosted players. Please update your configuration at /admin/config/media/jw_player/settings if you are using a cloud hosted player.'));
    variable_del('jw_player_account_token');
  }
  variable_set('jw_player_version', 6);
  drupal_set_message(t('JW Player version has been set to 6.'));
}