From df6fe90286f6e3dbb40a518af2cabee6b4312283 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 9 Jan 2005 10:06:26 +0000 Subject: - Updated two watchdog calls. --- modules/comment/comment.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index aa596f100..cecc1b24b 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -534,8 +534,8 @@ function comment_post($edit) { // Allow modules to respond to the updating of a comment. module_invoke_all('comment', 'update', $edit); - // Add entry to the watchdog log. - watchdog('content', t('Comment: updated %subject.', array('%subject' => ''. $edit['subject'] .'')), l(t('view'), 'node/'. $edit['nid'], NULL, NULL, 'comment-'. $edit['cid'])); + // Add an entry to the watchdog log. + watchdog('content', t('Comment: updated %subject.', array('%subject' => ''. $edit['subject'] .'')), WATCHDOG_NOTICE, l(t('view'), 'node/'. $edit['nid'], NULL, NULL, 'comment-'. $edit['cid'])); } else { // Add the comment to database. @@ -638,7 +638,7 @@ function comment_post($edit) { module_invoke_all('comment', 'insert', $edit); // Add an entry to the watchdog log. - watchdog('content', t('Comment: added %subject.', array('%subject' => ''. $edit['subject'] .'')), l(t('view'), 'node/'. $edit['nid'], NULL, NULL, 'comment-'. $edit['cid'])); + watchdog('content', t('Comment: added %subject.', array('%subject' => ''. $edit['subject'] .'')), WATCHDOG_NOTICE, l(t('view'), 'node/'. $edit['nid'], NULL, NULL, 'comment-'. $edit['cid'])); } // Clear the cache so an anonymous user can see his comment being added. -- cgit v1.2.3