diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-06-23 19:05:15 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-06-23 19:05:15 +0000 |
commit | b6a08382d711078508fb4899b639b32533f7a550 (patch) | |
tree | 6e8b3a5b756b970a6b1d31eb53bd851cf633749c /modules/book | |
parent | 00936826ad83160d24622a7a69521fe6536d2e7a (diff) | |
download | brdo-b6a08382d711078508fb4899b639b32533f7a550.tar.gz brdo-b6a08382d711078508fb4899b639b32533f7a550.tar.bz2 |
- Patch #834972 by aaronbauman: DBTNG: book module.
Diffstat (limited to 'modules/book')
-rw-r--r-- | modules/book/book.install | 4 |
1 files changed, 3 insertions, 1 deletions
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(); } |