projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.16
[freeside.git]
/
rt
/
share
/
html
/
REST
/
1.0
/
logout
diff --git
a/rt/share/html/REST/1.0/logout
b/rt/share/html/REST/1.0/logout
index
a6b0bac
..
0738323
100755
(executable)
--- a/
rt/share/html/REST/1.0/logout
+++ b/
rt/share/html/REST/1.0/logout
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
1
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
9
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-46,6
+46,9
@@
%#
%# END BPS TAGGED BLOCK }}}
<%PERL>
%#
%# END BPS TAGGED BLOCK }}}
<%PERL>
-tied(%session)->delete if (defined %session);
+if (keys %session) {
+ RT::Interface::Web::InstantiateNewSession();
+ $session{CurrentUser} = RT::CurrentUser->new();
+}
</%PERL>
RT/<% $RT::VERSION %> 200 Ok
</%PERL>
RT/<% $RT::VERSION %> 200 Ok