You are here

function patterns_uninstall in Patterns 7

Same name and namespace in other branches
  1. 6.2 patterns.install \patterns_uninstall()
  2. 6 patterns.install \patterns_uninstall()
  3. 7.2 patterns.install \patterns_uninstall()

Implements hook_uninstall().

File

./patterns.install, line 22

Code

function patterns_uninstall() {
  $del = db_delete('variable')
    ->condition('name', 'patterns_%', 'LIKE')
    ->execute();
}