function commons_update_3115 in Drupal Commons 7.3
Replace the oEmbed module with the Media: oEmbed module.
File
- ./
commons.install, line 770 - Install, update and uninstall functions for the Commons install profile.
Code
function commons_update_3115() {
if (module_exists('oembed')) {
module_disable(array(
'oembed',
));
}
module_enable(array(
'media_oembed',
));
return array();
}