You are here

function hook_modules_uninstalled in MultiBlock 7

Implements hook_modules_uninstalled().

File

./multiblock.module, line 460
Enhances the block API, as provided by D7 Core.

Code

function hook_modules_uninstalled($modules) {

  // Delete all multiblock instances for the disabled modules.
  db_delete('multiblock')
    ->condition('module', $modules, 'IN')
    ->execute();
}