You are here

function geshifilter_uninstall in GeSHi Filter for syntax highlighting 5

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

On uninstall: remove module variables and clear variable cache

File

./geshifilter.install, line 6

Code

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