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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user