You are here

function pathologic_uninstall in Pathologic 6.2

Same name and namespace in other branches
  1. 6.3 pathologic.install \pathologic_uninstall()

Implementation of hook_uninstall().

File

./pathologic.install, line 19
Standard .install file for Pathologic.

Code

function pathologic_uninstall() {

  // Iterate through the site's variables and delete ones created by Pathologic.
  global $conf;
  foreach (array_keys($conf) as $key) {
    if (strpos($key, 'filter_pathologic_') === 0) {
      variable_del($key);
    }
  }
}