summaryrefslogtreecommitdiffstats
path: root/Http/Session
diff options
context:
space:
mode:
authorNicolas Grekas <nicolas.grekas@gmail.com>2015-08-01 09:16:55 +0200
committerNicolas Grekas <nicolas.grekas@gmail.com>2015-08-01 09:26:17 +0200
commit6de838905fc31153ba80ad1a8f0919fe8ab58ad1 (patch)
tree3060a1faccdad404ebf9a5b6ee33da3326b6eeb3 /Http/Session
parent9df5f9dbab8f8c8b6777dbd45e07bd78b8729bc3 (diff)
downloadsymfony-security-6de838905fc31153ba80ad1a8f0919fe8ab58ad1.zip
symfony-security-6de838905fc31153ba80ad1a8f0919fe8ab58ad1.tar.gz
symfony-security-6de838905fc31153ba80ad1a8f0919fe8ab58ad1.tar.bz2
Remove code for PHP <5.5.9
Diffstat (limited to 'Http/Session')
-rw-r--r--Http/Session/SessionAuthenticationStrategy.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/Http/Session/SessionAuthenticationStrategy.php b/Http/Session/SessionAuthenticationStrategy.php
index ccfa6ba..dd258a0 100644
--- a/Http/Session/SessionAuthenticationStrategy.php
+++ b/Http/Session/SessionAuthenticationStrategy.php
@@ -47,10 +47,7 @@ class SessionAuthenticationStrategy implements SessionAuthenticationStrategyInte
return;
case self::MIGRATE:
- // Destroying the old session is broken in php 5.4.0 - 5.4.10
- // See php bug #63379
- $destroy = PHP_VERSION_ID < 50400 || PHP_VERSION_ID >= 50411;
- $request->getSession()->migrate($destroy);
+ $request->getSession()->migrate(true);
return;