You are here

function mathjax_uninstall in MathJax: LaTeX for Drupal 7

Same name and namespace in other branches
  1. 6 mathjax.install \mathjax_uninstall()
  2. 7.2 mathjax.install \mathjax_uninstall()

Implements hook_uninstall().

File

./mathjax.install, line 11
MathJax module install.

Code

function mathjax_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'mathjax_%'");
  cache_clear_all('variables', 'cache_bootstrap');
}