summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-07-20 22:18:53 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-07-20 22:18:53 +0000
commitf15bb0110da9dc32148bbf1010542784b22e6f1a (patch)
treee7e5049bfaa0ceaad462f6a33c06e790b9ab77e6 /modules/node/node.module
parent1a4a3ec577c976e22fd2e93a7339afe6eddf24db (diff)
downloadbrdo-f15bb0110da9dc32148bbf1010542784b22e6f1a.tar.gz
brdo-f15bb0110da9dc32148bbf1010542784b22e6f1a.tar.bz2
#457744 by quicksketch: Insert missing calls to file_attach_delete() and file_attach_delete_revision().
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index acbdbc0ac..0453b3226 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1067,6 +1067,7 @@ function node_delete_multiple($nids) {
// Call the node-specific callback (if any):
node_invoke($node, 'delete');
module_invoke_all('node_delete', $node);
+ field_attach_delete('node', $node);
// Remove this node from the search index if needed.
// This code is implemented in node module rather than in search module,