]> git.uio.no Git - usit-rt.git/blobdiff - share/html/NoAuth/Logout.html
Upgrade to 4.0.13
[usit-rt.git] / share / html / NoAuth / Logout.html
index 20024ccecdaf7a9d62bedc8bb00056b867954852..7c9e0cb76bb542c5ead5f87dd0f5c3379b61ee2b 100644 (file)
@@ -2,7 +2,7 @@
 %#
 %# COPYRIGHT:
 %#
-%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC
 %#                                          <sales@bestpractical.com>
 %#
 %# (Except where explicitly superseded by other copyright notices)
@@ -76,7 +76,7 @@ $m->callback( %ARGS, URL => \$URL );
 $m->callback( %ARGS, CallbackName => 'BeforeSessionDelete' );
 
 if (keys %session) {
-    tied(%session)->delete;
+    RT::Interface::Web::InstantiateNewSession();
     $session{'CurrentUser'} = RT::CurrentUser->new;
 }