Skip to content

Commit

Permalink
[HttpFoundation][Session] Cleaned up constructor invokation
Browse files Browse the repository at this point in the history
  • Loading branch information
Drak committed Aug 7, 2012
1 parent b07fb3c commit 22be499
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -341,7 +341,7 @@ public function setSaveHandler($saveHandler = null)
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;
Expand Down

0 comments on commit 22be499

Please sign in to comment.