From b6a08382d711078508fb4899b639b32533f7a550 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 23 Jun 2010 19:05:15 +0000 Subject: - Patch #834972 by aaronbauman: DBTNG: book module. --- modules/book/book.install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/book') diff --git a/modules/book/book.install b/modules/book/book.install index bf932bba6..93c712b05 100644 --- a/modules/book/book.install +++ b/modules/book/book.install @@ -19,7 +19,9 @@ function book_install() { */ function book_uninstall() { // Delete menu links. - db_query("DELETE FROM {menu_links} WHERE module = 'book'"); + db_delete('menu_links') + ->condition('module', 'book') + ->execute(); menu_cache_clear_all(); } -- cgit v1.2.3