You are here

function colors_uninstall in Colors 7

Implements hook_uninstall().

File

./colors.install, line 23
Install, update and uninstall functions for the colors module.

Code

function colors_uninstall() {
  db_delete('variable')
    ->condition('name', db_like('colors_') . '%', 'LIKE')
    ->execute();
  cache_clear_all('variables', 'cache_bootstrap');
}