You are here

function soft_length_limit_uninstall in Soft Length Limit 7

Implements hook_uninstall().

Deletes variables defined by the module.

File

./soft_length_limit.install, line 12
Install/uninstall hooks for soft_length_limits module.

Code

function soft_length_limit_uninstall() {
  db_delete('variable')
    ->condition('name', "soft_length_limit_%", "LIKE")
    ->execute();
  cache_clear_all('variables', 'cache_bootstrap');
}