From 22be49932fdc33798faabee9471975cf02f80464 Mon Sep 17 00:00:00 2001 From: Drak Date: Tue, 7 Aug 2012 19:53:41 +0100 Subject: [PATCH] [HttpFoundation][Session] Cleaned up constructor invokation --- .../HttpFoundation/Session/Storage/NativeSessionStorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php b/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php index 7a9d77531e..9a8fee7081 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php +++ b/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php @@ -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;