You are here

function autofloat_uninstall in AutoFloat 6.2

Same name and namespace in other branches
  1. 8 autofloat.install \autofloat_uninstall()
  2. 6 autofloat.install \autofloat_uninstall()
  3. 7.2 autofloat.install \autofloat_uninstall()
  4. 7 autofloat.install \autofloat_uninstall()

Implements hook_uninstall().

File

./autofloat.install, line 23
Sets post-install messages and deletes variables when uninstalled.

Code

function autofloat_uninstall() {

  // Delete all variables set in variable table.
  db_query("DELETE FROM {variable} WHERE name LIKE 'autofloat_%%'");
  cache_clear_all('variables', 'cache_bootstrap');
}