Skip to content
Snippets Groups Projects
Commit 0692268d authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #29133 by DriesK: forum vid remains when vocabulary is deleted. ...

- Patch #29133 by DriesK: forum vid remains when vocabulary is deleted.  Prevents forum topics from getting lost.
parent 3e37b385
No related branches found
No related tags found
No related merge requests found
......@@ -120,6 +120,9 @@ function forum_taxonomy($op, $type, $object) {
node_delete($edit);
}
}
elseif ($op == 'delete' && $type == 'vocabulary' && $object->vid == _forum_get_vid()) {
variable_del('forum_nav_vocabulary');
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment