You are here

function currency_api_uninstall in Currency 5

Same name and namespace in other branches
  1. 6 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 MySQL database tables for CurrencyAPI.

File

currency_api/currency_api.install, line 39

Code

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