diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-10-15 03:36:21 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-10-15 03:36:21 +0000 |
commit | 91bc8bed90634548d06087e9ff9d2ad616e0392f (patch) | |
tree | c448567630985e68b3f072aea92794eb2662c6de /includes/file.inc | |
parent | 8ab93aeaf11a90ff456c91382b4e7f780d632de3 (diff) | |
download | brdo-91bc8bed90634548d06087e9ff9d2ad616e0392f.tar.gz brdo-91bc8bed90634548d06087e9ff9d2ad616e0392f.tar.bz2 |
#709892 by drunken monkey, Yorirou: Complete entity CRUD hook invocations: Add a hook_entity_delete() for consistency.
Diffstat (limited to 'includes/file.inc')
-rw-r--r-- | includes/file.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/file.inc b/includes/file.inc index 64821ba22..1dd34cbae 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -1190,6 +1190,7 @@ function file_delete(stdClass $file, $force = FALSE) { // Let other modules clean up any references to the deleted file. module_invoke_all('file_delete', $file); + module_invoke_all('entity_delete', $file, 'file'); // Make sure the file is deleted before removing its row from the // database, so UIs can still find the file in the database. |