You are here

rrssb.install in Ridiculously Responsive Social Sharing Buttons 7

Same filename and directory in other branches
  1. 8.2 rrssb.install
  2. 7.2 rrssb.install

Contains install and update functions.

File

rrssb.install
View source
<?php

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

/**
 * Implements hook_uninstall().
*/
function rrssb_uninstall() {

  // Simple DB query to get the names of our variables.
  $results = db_select('variable', 'v')
    ->fields('v', array(
    'name',
  ))
    ->condition('name', 'rrssb_%', 'LIKE')
    ->execute();

  // Loop through and delete each of our variables.
  foreach ($results as $result) {
    variable_del($result->name);
  }
}

Functions

Namesort descending Description
rrssb_uninstall Implements hook_uninstall().