You are here

function oembed_update_7000 in oEmbed 7

Same name and namespace in other branches
  1. 7.0 oembed.install \oembed_update_7000()

Rename extant oembed filters to oembed_legacy.

File

./oembed.install, line 75
Install, update and uninstall functions for the oEmbed module.

Code

function oembed_update_7000(&$sandbox) {
  db_update('filter')
    ->fields(array(
    'name' => 'oembed_legacy',
  ))
    ->condition('name', 'oembed')
    ->execute();
}