You are here

function geshifilter_uninstall in GeSHi Filter for syntax highlighting 6

Same name and namespace in other branches
  1. 5.2 geshifilter.install \geshifilter_uninstall()
  2. 5 geshifilter.install \geshifilter_uninstall()
  3. 7 geshifilter.install \geshifilter_uninstall()

On uninstall: remove module variables and clear variable cache

File

./geshifilter.install, line 28
Installation and uninstallation functions for the GeSHi filter.

Code

function geshifilter_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'geshifilter_%'");
  cache_clear_all('variables', 'cache');
}