You are here

function syntaxhighlighter_uninstall in Syntax Highlighter 6

Same name and namespace in other branches
  1. 8 syntaxhighlighter.install \syntaxhighlighter_uninstall()
  2. 6.2 syntaxhighlighter.install \syntaxhighlighter_uninstall()
  3. 7.2 syntaxhighlighter.install \syntaxhighlighter_uninstall()
  4. 7 syntaxhighlighter.install \syntaxhighlighter_uninstall()

File

./syntaxhighlighter.install, line 19
Syntax highlighter module installation file.

Code

function syntaxhighlighter_uninstall() {
  file_delete(file_directory_path() . '/syntaxhighlighter.autoloader.js');
  db_query("DELETE FROM {filters} where module='syntaxhighlighter'");
  db_query("DELETE FROM {variable} WHERE name LIKE 'syntaxhighlighter_%'");
  cache_clear_all('variables', 'cache');
}