You are here

stickynav.install in Sticky Navigation 7

Same filename and directory in other branches
  1. 6 stickynav.install

Contains install and update functions for advanced_help.

File

stickynav.install
View source
<?php

/**
 * @file
 * Contains install and update functions for advanced_help.
 */

/**
 * Implements hook_uninstall().
 */
function stickynav_uninstall() {
  $or = db_or()
    ->condition('name', 'stickynav-enabled-%', 'LIKE')
    ->condition('name', 'stickynav-selector-%', 'LIKE')
    ->condition('name', 'stickynav-roles-%', 'LIKE');
  $result = db_select('variable', 'v')
    ->fields('v', array(
    'name',
  ))
    ->condition($or)
    ->execute();
  foreach ($result as $row) {
    variable_del($row->name);
  }
}

Functions

Namesort descending Description
stickynav_uninstall Implements hook_uninstall().