You are here

function ccl_blocks_uninstall in Custom Contextual Links 7

Same name and namespace in other branches
  1. 8 ccl_blocks/ccl_blocks.install \ccl_blocks_uninstall()

Implements hook_uninstall().

Remove links created by the blocks submodule.

File

ccl_blocks/ccl_blocks.install, line 12
Provides install, upgrade and un-install functions for ccl_blocks.

Code

function ccl_blocks_uninstall() {
  db_delete('ccl')
    ->condition('type', 'block')
    ->execute();
}