function simplenews_uninstall in Simplenews 5
Same name and namespace in other branches
- 6.2 simplenews.install \simplenews_uninstall()
- 6 simplenews.install \simplenews_uninstall()
- 7.2 simplenews.install \simplenews_uninstall()
- 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_%%'");
}