You are here

function maxlength_uninstall in Maxlength 7.3

Same name and namespace in other branches
  1. 5.2 maxlength.install \maxlength_uninstall()
  2. 5 maxlength.install \maxlength_uninstall()
  3. 6.2 maxlength.install \maxlength_uninstall()
  4. 6 maxlength.install \maxlength_uninstall()
  5. 7 maxlength.install \maxlength_uninstall()
  6. 7.2 maxlength.install \maxlength_uninstall()

Implements hook_uninstall().

File

./maxlength.install, line 17
Install, update and uninstall functions for the Maxlength module.

Code

function maxlength_uninstall() {
  db_delete('variable')
    ->condition('name', db_like('maxlength_js_') . '%', 'LIKE')
    ->execute();
}