summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-15 03:39:42 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-15 03:39:42 +0000
commit71c4e3ec62427e562965561f5a7b13aa64737595 (patch)
tree312ab891d1692d08008ab3bb20a8bb22f44d1f06 /modules/comment/comment.module
parent0afbd86d32a94c3b11c6cbe4204e66d8cfa1da3a (diff)
downloadbrdo-71c4e3ec62427e562965561f5a7b13aa64737595.tar.gz
brdo-71c4e3ec62427e562965561f5a7b13aa64737595.tar.bz2
#968458 by Dave Reid, sun, fago: Add Missing hook_entity_presave().
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index d2286f333..e78f6ec5c 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1452,6 +1452,7 @@ function comment_save($comment) {
// Allow modules to alter the comment before saving.
module_invoke_all('comment_presave', $comment);
+ module_invoke_all('entity_presave', $comment, 'comment');
if ($comment->cid) {
// Update the comment in the database.