You are here

function simplenews_uninstall in Simplenews 5

Same name and namespace in other branches
  1. 6.2 simplenews.install \simplenews_uninstall()
  2. 6 simplenews.install \simplenews_uninstall()
  3. 7.2 simplenews.install \simplenews_uninstall()
  4. 7 simplenews.install \simplenews_uninstall()

Implementation of hook_uninstall().

File

./simplenews.install, line 149

Code

function simplenews_uninstall() {
  db_query('DROP TABLE {simplenews_snid_tid}');
  db_query('DROP TABLE {simplenews_newsletters}');
  db_query('DROP TABLE {simplenews_subscriptions}');
  db_query("DELETE FROM {variable} WHERE name LIKE 'simplenews_%%'");
}