Commit b6a08382 authored by Dries's avatar Dries

- Patch #834972 by aaronbauman: DBTNG: book module.

parent 00936826
...@@ -19,7 +19,9 @@ function book_install() { ...@@ -19,7 +19,9 @@ function book_install() {
*/ */
function book_uninstall() { function book_uninstall() {
// Delete menu links. // Delete menu links.
db_query("DELETE FROM {menu_links} WHERE module = 'book'"); db_delete('menu_links')
->condition('module', 'book')
->execute();
menu_cache_clear_all(); menu_cache_clear_all();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment