function campaignmonitor_uninstall in Campaign Monitor 7
Same name and namespace in other branches
- 5.2 campaignmonitor.install \campaignmonitor_uninstall()
- 5 campaignmonitor.install \campaignmonitor_uninstall()
- 6.3 campaignmonitor.install \campaignmonitor_uninstall()
- 6 campaignmonitor.install \campaignmonitor_uninstall()
- 6.2 campaignmonitor.install \campaignmonitor_uninstall()
Uninstall the variables used by the module.
File
- ./
campaignmonitor.install, line 11 - Handles the uninstall and update functions for the module.
Code
function campaignmonitor_uninstall() {
// Delete all lists.
db_delete('variable')
->condition('name', 'campaignmonitor_list_', 'LIKE')
->execute();
variable_del('campaignmonitor_account');
variable_del('campaignmonitor_general');
}