diff options
author | gerv%gerv.net <> | 2002-10-06 18:52:28 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2002-10-06 18:52:28 +0000 |
commit | b8851cdd5c15e0d21543d9fe08159b9ced8c950f (patch) | |
tree | ce1c674c28c6491d3a86e3afb182963737666e2d /sanitycheck.cgi | |
parent | ... and also fix a bug introduced trying to unrot the general bug check rewri... (diff) | |
download | bugzilla-b8851cdd5c15e0d21543d9fe08159b9ced8c950f.tar.gz bugzilla-b8851cdd5c15e0d21543d9fe08159b9ced8c950f.tar.bz2 bugzilla-b8851cdd5c15e0d21543d9fe08159b9ced8c950f.zip |
Bug 163114 - Templatise all calls to DisplayError. Patch D (the last one). Patch by gerv; r=burnus.
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-x | sanitycheck.cgi | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi index 286729aa5..8977ce3b5 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -64,9 +64,7 @@ confirm_login(); # prevents users with a legitimate interest in Bugzilla integrity # from accessing the script). UserInGroup("editbugs") - || DisplayError("You are not authorized to access this script, - which is reserved for users with the ability to edit bugs.") - && exit; + || ThrowUserError("sanity_check_access_denied"); print "Content-type: text/html\n"; print "\n"; |