[Rt-commit] rt branch, 4.0/rest-defined-session, created. rt-4.0.3rc1-1-g9c7fd03
Alex Vandiver
alexmv at bestpractical.com
Mon Oct 31 15:25:36 EDT 2011
The branch, 4.0/rest-defined-session has been created
at 9c7fd03788cbf21ecfd5152bb8a7e9f8cc74387e (commit)
- Log -----------------------------------------------------------------
commit 9c7fd03788cbf21ecfd5152bb8a7e9f8cc74387e
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Mon Oct 31 15:25:29 2011 -0400
Perl 5.12 deprecated use of `defined %hash`; remove it
This change was missed when 74428a7 was applied to the standard logout mechanism.
diff --git a/share/html/REST/1.0/logout b/share/html/REST/1.0/logout
index a6b0bac..2e59b1d 100755
--- a/share/html/REST/1.0/logout
+++ b/share/html/REST/1.0/logout
@@ -46,6 +46,6 @@
%#
%# END BPS TAGGED BLOCK }}}
<%PERL>
-tied(%session)->delete if (defined %session);
+tied(%session)->delete if keys %session;
</%PERL>
RT/<% $RT::VERSION %> 200 Ok
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list