[HttpFoundation][Session] Cleaned up constructor invokation

This commit is contained in:
Drak 2012-08-07 19:53:41 +01:00
parent b07fb3c459
commit 22be49932f
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ class NativeSessionStorage implements SessionStorageInterface
if (!$saveHandler instanceof AbstractProxy && $saveHandler instanceof \SessionHandlerInterface) {
$saveHandler = new SessionHandlerProxy($saveHandler);
} elseif (!$saveHandler instanceof AbstractProxy) {
$saveHandler = new NativeProxy($saveHandler);
$saveHandler = new NativeProxy();
}
$this->saveHandler = $saveHandler;