From 79598dc72334e5fef8146dca1553b16bb289a1b8 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Thu, 4 May 2006 09:34:56 +0000 Subject: #61678 by Zen, Comment body validation should rely on fapi --- modules/comment/comment.module | 5 ----- 1 file changed, 5 deletions(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 83fae38b7..a0622e134 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1161,11 +1161,6 @@ function comment_validate($edit) { form_set_error('author', t('You have to specify a valid author.')); } - // Validate the comment's body. - if (trim($edit['comment']) == '') { - form_set_error('comment', t('The body of your comment is empty.')); - } - // Check validity of name, mail and homepage (if given) if (!$user->uid || isset($edit['is_anonymous'])) { if (variable_get('comment_anonymous', COMMENT_ANONYMOUS_MAYNOT_CONTACT) > COMMENT_ANONYMOUS_MAYNOT_CONTACT) { -- cgit v1.2.3