summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl10
1 files changed, 0 insertions, 10 deletions
diff --git a/CGI.pl b/CGI.pl
index d650ea08e..652d6c03b 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -188,16 +188,6 @@ sub ValidateBugID {
}
}
-sub ValidateComment {
- # Make sure a comment is not too large (greater than 64K).
-
- my ($comment) = @_;
-
- if (defined($comment) && length($comment) > 65535) {
- ThrowUserError("comment_too_long");
- }
-}
-
sub PasswordForLogin {
my ($login) = (@_);
SendSQL("select cryptpassword from profiles where login_name = " .