function popup_breadcrumb_uninstall in Popup 6.x
Implementation of hook_uninstall().
File
- modules/
popup_breadcrumb/ popup_breadcrumb.install, line 9
Code
function popup_breadcrumb_uninstall() {
$variables = array(
'popup-breadcrumb-settings',
);
foreach ($variables as $variable) {
variable_del($variable);
}
if (module_exists('views')) {
$view = views_get_view('popup_breadcrumb_nodes');
if ($view) {
$view
->delete();
}
}
}