You are here

function emvideo_update_6005 in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emvideo/emvideo.install \emvideo_update_6005()
  2. 6.2 contrib/emvideo/emvideo.install \emvideo_update_6005()

Redo for new formatters for link and duration.

File

contrib/emvideo/emvideo.install, line 265
Installation, configuration, and removal of the emvideo module.

Code

function emvideo_update_6005() {
  $ret = _emvideo_update_add_new_formatters();

  // We no longer need the YouTube API secret key, which no longer exists.
  $ret[] = update_sql("DELETE FROM {variable} WHERE name='emvideo_youtube_api_secret'");
  return $ret;
}