/[drupal]/contributions/modules/comment_og/comment_notify_patch_to_comment.patch
ViewVC logotype

Contents of /contributions/modules/comment_og/comment_notify_patch_to_comment.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Thu Feb 28 10:20:24 2008 UTC (21 months ago) by rapsli
Branch: MAIN
CVS Tags: DRUPAL-5--0-3beta2, DRUPAL-5--0-3beta1, DRUPAL-5--0-1, DRUPAL-5--0-2beta, DRUPAL-5--0-2beta1, DRUPAL-5--0-1beta, DRUPAL-5--0-1beta2
File MIME type: text/x-patch
First version.
1 Index: comment.module
2 ===================================================================
3 RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v
4 retrieving revision 1.520.2.12
5 diff -u -p -r1.520.2.12 comment.module
6 --- comment.module 7 Nov 2007 08:03:30 -0000 1.520.2.12
7 +++ comment.module 19 Jan 2008 13:13:33 -0000
8 @@ -803,6 +803,9 @@ function comment_save($edit) {
9 if ($edit['status'] == COMMENT_NOT_PUBLISHED) {
10 drupal_set_message(t('Your comment has been queued for moderation by site administrators and will be published after approval.'));
11 }
12 + else {
13 + comment_invoke_comment($edit, 'publish');
14 + }
15 return $edit['cid'];
16 }
17 else {

  ViewVC Help
Powered by ViewVC 1.1.2