campaignmonitor.install in Campaign Monitor 7
Handles the uninstall and update functions for the module.
File
campaignmonitor.installView 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
Name | Description |
---|---|
campaignmonitor_uninstall | Uninstall the variables used by the module. |