You are here

function currency_api_uninstall in Currency 6

Same name and namespace in other branches
  1. 5 currency_api/currency_api.install \currency_api_uninstall()
  2. 7 currency_api/currency_api.install \currency_api_uninstall()

Implementation of hook_uninstall().

This will automatically remove the database tables and varibles defined by CurrencyAPI.

File

currency_api/currency_api.install, line 66
This module provides an API for currency conversion.

Code

function currency_api_uninstall() {
  drupal_uninstall_schema('currency_api');
  db_query("DELETE FROM {variable} WHERE name LIKE 'currency_api%'");
}