Skip to content

Commit 072660d

Browse files
committed
Remove extra session_start()
Prior to this change, the hasSession() would already trigger a session_start from within Symfony Framework. The session_start left in there was not needed and confusing. This change leaves session handling to the framework and does not try to start the session again manually.
1 parent b520a36 commit 072660d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

library/EngineBlock/ApplicationSingleton.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ public function reportError(Throwable $exception, $messageSuffix = '')
238238
// Store some valuable debug info in session so it can be displayed on feedback pages
239239
if($this->hasSession()) {
240240
// In CLI context, the session is not available
241-
@session_start();
242241
$this->getSession()->set('feedbackInfo', $this->collectFeedbackInfo($exception));
243242
}
244243

0 commit comments

Comments
 (0)