merged branch drak/session_clean (PR #5211)
Commits -------22be499
[HttpFoundation][Session] Cleaned up constructor invokation Discussion ---------- [HttpFoundation][Session] Cleaned up constructor invokation Bug fix: yes Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes Fixes the following tickets: ~ Todo: ~ License of the code: MIT Documentation PR: ~ This simply cleans up a mismatch between the class instantiation and the actual class constructor. Evidently something left over from the various iterations. --------------------------------------------------------------------------- by travisbot at 2012-08-07T19:16:14Z This pull request [passes](http://travis-ci.org/symfony/symfony/builds/2060028) (merged22be4993
into7dbadbf2
). --------------------------------------------------------------------------- by drak at 2012-08-09T08:25:43Z ping @fabpot
This commit is contained in:
commit
ef2c5bc18a
@ -349,7 +349,7 @@ class NativeSessionStorage implements SessionStorageInterface
|
|||||||
if (!$saveHandler instanceof AbstractProxy && $saveHandler instanceof \SessionHandlerInterface) {
|
if (!$saveHandler instanceof AbstractProxy && $saveHandler instanceof \SessionHandlerInterface) {
|
||||||
$saveHandler = new SessionHandlerProxy($saveHandler);
|
$saveHandler = new SessionHandlerProxy($saveHandler);
|
||||||
} elseif (!$saveHandler instanceof AbstractProxy) {
|
} elseif (!$saveHandler instanceof AbstractProxy) {
|
||||||
$saveHandler = new NativeProxy($saveHandler);
|
$saveHandler = new NativeProxy();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->saveHandler = $saveHandler;
|
$this->saveHandler = $saveHandler;
|
||||||
|
Reference in New Issue
Block a user