function node_modules_uninstalled

Implements hook_modules_uninstalled().

Cleans up the {block_node_type} table from modules' blocks.

File

drupal/core/modules/node/node.module, line 2133
The core module that allows content to be submitted to the site.

Code

function node_modules_uninstalled($modules) {
  db_delete('block_node_type')
    ->condition('module', $modules, 'IN')
    ->execute();
}