You are here

function twitter_profile_widget_uninstall in Twitter Profile Widget 7

Same name and namespace in other branches
  1. 8.2 twitter_profile_widget.install \twitter_profile_widget_uninstall()
  2. 8 twitter_profile_widget.install \twitter_profile_widget_uninstall()
  3. 6 twitter_profile_widget.install \twitter_profile_widget_uninstall()
  4. 3.x twitter_profile_widget.install \twitter_profile_widget_uninstall()

Implements hook_uninstall().

File

./twitter_profile_widget.install, line 11
Uninstall function for the twitter profile widget module.

Code

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