diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-07-01 17:41:16 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-07-01 17:41:16 +0000 |
commit | e59852d336467e7269853724a28d80bc070bcbf6 (patch) | |
tree | 5be53c3b52d923476e8be517f15251f1487efa9c /modules/book/book.module | |
parent | c11cb4ec24479e801076c094f043f2084b344d0c (diff) | |
download | brdo-e59852d336467e7269853724a28d80bc070bcbf6.tar.gz brdo-e59852d336467e7269853724a28d80bc070bcbf6.tar.bz2 |
- Rollback of patch #147723: delete API. Talked to Steven and Gabor and we
unanimously agreed to rollback the deletion API. We all support the
features this patch added, yet not its actual design and implementation.
After some talk, we decided that it would be better for Drupal -- in the
long term -- not to go with a solution that isn't 100%. We also recognize
that in the short term, this patch would have been useful addition. So
let's figure out how we can implement this properly in D7.
Diffstat (limited to 'modules/book/book.module')
-rw-r--r-- | modules/book/book.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/book/book.module b/modules/book/book.module index 8fea8fd7c..f21e574f8 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -466,10 +466,10 @@ function book_nodeapi(&$node, $op, $teaser, $page) { } break; case 'delete revision': - drupal_delete_add_query('DELETE FROM {book} WHERE vid = %d', $node->vid); + db_query('DELETE FROM {book} WHERE vid = %d', $node->vid); break; case 'delete': - drupal_delete_add_query('DELETE FROM {book} WHERE nid = %d', $node->nid); + db_query('DELETE FROM {book} WHERE nid = %d', $node->nid); break; } } |