You are here

function ccl_views_uninstall in Custom Contextual Links 8

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