diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-12-05 16:07:18 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-12-05 16:07:18 +0000 |
commit | c4c5ce122d1739abaf398d2a8c8d4ef825cd61a0 (patch) | |
tree | ddd5dd52ec80b722196bcdb151e8118cbe95ad1d /modules/book.module | |
parent | 7c958440ff86d4ccfc05c93cd4c8dac0a1c5ede7 (diff) | |
download | brdo-c4c5ce122d1739abaf398d2a8c8d4ef825cd61a0.tar.gz brdo-c4c5ce122d1739abaf398d2a8c8d4ef825cd61a0.tar.bz2 |
- Patch #31323 by Gerhard: delete extra data when a revision is deleted.
Diffstat (limited to 'modules/book.module')
-rw-r--r-- | modules/book.module | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/book.module b/modules/book.module index 7618c24e5..63e80b38c 100644 --- a/modules/book.module +++ b/modules/book.module @@ -473,6 +473,9 @@ function book_nodeapi(&$node, $op, $teaser, $page) { } } break; + case 'revision delete': + db_query('DELETE FROM {book} WHERE vid = %d', $node->vid); + break; } } |