function oembed_update_7000 in oEmbed 7.0
Same name and namespace in other branches
- 7 oembed.install \oembed_update_7000()
Rename extant oembed filters to oembed_legacy.
File
- ./
oembed.install, line 74
Code
function oembed_update_7000(&$sandbox) {
db_update('filter')
->fields(array(
'name' => 'oembed_legacy',
))
->condition('name', 'oembed')
->execute();
}