Bug 226324: Move relogin.cgi code to Bugzilla::Auth::CGI. Provide a

logout() method that is proxied through Bugzilla.pm's logout(), and fix
callers to use it.  r=justdave, bbaetz, a=justdave


git-svn-id: svn://10.0.0.236/trunk@149789 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kiko%async.com.br
2003-11-27 01:01:00 +00:00
parent 13e75deaad
commit c8c51a1d78
5 changed files with 48 additions and 37 deletions

View File

@@ -95,7 +95,7 @@ if ($::FORM{'format'} && $::FORM{'format'} eq "rdf" && !$::FORM{'ctype'}) {
# Note that if and when this call clears cookies or has other persistent
# effects, we'll need to do this another way instead.
if ((exists $::FORM{'ctype'}) && ($::FORM{'ctype'} eq "js")) {
Bugzilla->logout();
Bugzilla->logout_request();
}
# Determine the format in which the user would like to receive the output.