function brightcove_update_7002 in Brightcove Video Connect 7.5
Same name and namespace in other branches
- 7.2 brightcove.install \brightcove_update_7002()
- 7.3 brightcove.install \brightcove_update_7002()
- 7.4 brightcove.install \brightcove_update_7002()
Migrates old player id and key to the table.
File
- ./
brightcove.install, line 179 - Installation file for Brightcove module.
Code
function brightcove_update_7002() {
$t = get_t();
$player_id = variable_get('brightcove_player');
$player_key = variable_get('brightcove_player_key');
brightcove_player_save((object) array(
'name' => $t('Default'),
'player_id' => $player_id,
'player_key' => $player_key,
));
variable_del('brightcove_player');
variable_del('brightcove_player_key');
}