Increased maximum comment length to 5000 chars

This commit is contained in:
rr- 2016-02-29 00:58:39 +01:00
parent 36d2842b6e
commit 9eaab55dab

View file

@ -101,7 +101,7 @@ class CommentService
private function updateCommentText(Comment $comment, $text)
{
$this->validator->validateLength($text, 5, 2000, 'Comment text');
$this->validator->validateLength($text, 5, 5000, 'Comment text');
$comment->setText($text);
}
}