function nodequeue_uninstall in Nodequeue 5
Same name and namespace in other branches
- 5.2 nodequeue.install \nodequeue_uninstall()
- 6.2 nodequeue.install \nodequeue_uninstall()
- 7.3 nodequeue.install \nodequeue_uninstall()
- 7.2 nodequeue.install \nodequeue_uninstall()
File
- ./
nodequeue.install, line 85
Code
function nodequeue_uninstall() {
$tables = array(
'nodequeue_queue',
'nodequeue_roles',
'nodequeue_types',
'nodequeue_nodes',
);
foreach ($tables as $table) {
if (db_table_exists($table)) {
db_query("DROP TABLE {$table}");
}
}
}