You are here

function ccl_blocks_uninstall in Custom Contextual Links 8

Same name and namespace in other branches
  1. 7 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();
}