You are here

function ccl_views_uninstall in Custom Contextual Links 7

Same name and namespace in other branches
  1. 8 ccl_views/ccl_views.install \ccl_views_uninstall()

Implements hook_uninstall().

Remove links created by the views submodule.

File

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

Code

function ccl_views_uninstall() {
  db_delete('ccl')
    ->condition('type', 'view')
    ->execute();
}