summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module5
1 files changed, 0 insertions, 5 deletions
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) {