Skip to content
Snippets Groups Projects
Commit 74428a7e authored by Ruslan Zakirov's avatar Ruslan Zakirov
Browse files

defined(%session) is deprecated

parent dae89799
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment