function media_vimeo_uninstall in Media: Vimeo 7
Same name and namespace in other branches
- 6 media_vimeo.install \media_vimeo_uninstall()
Implement hook_uninstall().
File
- ./
media_vimeo.install, line 18 - Install, update and uninstall functions for the Media: Vimeo module.
Code
function media_vimeo_uninstall() {
drupal_load('module', 'media_vimeo');
foreach (media_vimeo_variable_default() as $variable => $value) {
media_vimeo_variable_del($variable);
}
return array(
array(
'success' => TRUE,
'query' => "Deleted all variables in the Media: Vimeo namespace.",
),
);
}