summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-09-05 16:28:28 +0200
committergerv%gerv.net <>2002-09-05 16:28:28 +0200
commit02ce78bfc701dfaea5c8ba94927d6496d7f8f727 (patch)
tree6d99a8b9966a0c7f81663d88f9acbd583f53914c /CGI.pl
parent7fb4c30eea4e7a34d07f5e9eff5b379c98da7913 (diff)
downloadbugzilla-02ce78bfc701dfaea5c8ba94927d6496d7f8f727.tar.gz
bugzilla-02ce78bfc701dfaea5c8ba94927d6496d7f8f727.tar.xz
Bug 166698 - clean up the error system, which was confused and broken. Patch by gerv; r=bbaetz.
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl4
1 files changed, 0 insertions, 4 deletions
diff --git a/CGI.pl b/CGI.pl
index a0a0cfd72..0c85128d1 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -861,10 +861,6 @@ sub ThrowCodeError {
}
# For errors made by the user.
-# The correct use of this function is to pass an error tag, defined in
-# user-error.html.tmpl, as the first parameter, and then, optionally,
-# undef as the second parameter and $unlock_tables as the third.
-# The second parameter will eventually go away.
sub ThrowUserError {
($vars->{'error'}, my $unlock_tables) = (@_);