Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bestpractical/rt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Zakirov <ruz@bestpractical.com>2010-04-06 15:47:24 +0400
committerRuslan Zakirov <ruz@bestpractical.com>2010-04-06 20:22:52 +0400
commit74428a7e5ee979a53996cf19b5f062b6281b3f7a (patch)
treed9f803b2a6f1fb9a0446c609fc9a4569b0e67904
parentdae897995bc1ec8af2a2a55634b4aa04675c6989 (diff)
defined(%session) is deprecatedrt-3.8.8rc1
-rwxr-xr-xshare/html/NoAuth/Logout.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/html/NoAuth/Logout.html b/share/html/NoAuth/Logout.html
index 9f01aa20c9..7b80823b33 100755
--- a/share/html/NoAuth/Logout.html
+++ b/share/html/NoAuth/Logout.html
@@ -70,7 +70,7 @@
my $URL = RT->Config->Get('WebPath')."/";
$m->callback( %ARGS, CallbackName => 'BeforeSessionDelete' );
-if (defined %session) {
+if (keys %session) {
tied(%session)->delete;
$session{'CurrentUser'} = RT::CurrentUser->new;
}