You are here

campaignmonitor.install in Campaign Monitor 7

Handles the uninstall and update functions for the module.

File

campaignmonitor.install
View source
<?php

/**
 * @file
 * Handles the uninstall and update functions for the module.
 */

/**
 * Uninstall the variables used by the module.
 */
function campaignmonitor_uninstall() {

  // Delete all lists.
  db_delete('variable')
    ->condition('name', 'campaignmonitor_list_', 'LIKE')
    ->execute();
  variable_del('campaignmonitor_account');
  variable_del('campaignmonitor_general');
}

Functions

Namesort descending Description
campaignmonitor_uninstall Uninstall the variables used by the module.