Commit 468d289d authored by Dave Reid's avatar Dave Reid

Issue #1959312 by DYdave, Dave Reid: Fixed block_node_type table records not removed on uninstall.

parent a8cb5d61
......@@ -28,12 +28,13 @@ function menu_block_uninstall() {
db_delete('block')
->condition('module', 'menu_block')
->execute();
db_delete('block_node_type')
->condition('module', 'menu_block')
->execute();
db_delete('block_role')
->condition('module', 'menu_block')
->execute();
}
cache_clear_all();
}
/**
......@@ -43,13 +44,6 @@ function menu_block_enable() {
drupal_set_message(t('To use menu blocks, find the "Add menu block" link on the <a href="@url">administer blocks page</a>.', array('@url' => url('admin/structure/block'))));
}
/**
* Implements hook_install().
*/
function menu_block_install() {
// No-op.
}
/**
* Converts pre-5.x-1.0 block names to the new format.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment