You are here

function htmlpurifier_uninstall in HTML Purifier 7

Same name and namespace in other branches
  1. 5 htmlpurifier.install \htmlpurifier_uninstall()
  2. 6.2 htmlpurifier.install \htmlpurifier_uninstall()
  3. 6 htmlpurifier.install \htmlpurifier_uninstall()
  4. 7.2 htmlpurifier.install \htmlpurifier_uninstall()

Implements hook_uninstall().

File

./htmlpurifier.install, line 24
Install, update and uninstall functions for the HTML Purifier module.

Code

function htmlpurifier_uninstall() {
  db_delete('variable')
    ->condition('name', 'htmlpurifier%', 'LIKE')
    ->execute();
}