summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/comment.module5
-rw-r--r--modules/comment/comment.module5
2 files changed, 0 insertions, 10 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 83fae38b7..a0622e134 100644
--- a/modules/comment.module
+++ b/modules/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) {
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) {