summaryrefslogtreecommitdiff
path: root/app/Core/Queue/JobHandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Core/Queue/JobHandler.php')
-rw-r--r--app/Core/Queue/JobHandler.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Core/Queue/JobHandler.php b/app/Core/Queue/JobHandler.php
index 11c1fb69..d7e7d099 100644
--- a/app/Core/Queue/JobHandler.php
+++ b/app/Core/Queue/JobHandler.php
@@ -67,8 +67,7 @@ class JobHandler extends Base
*/
protected function prepareJobSession($user_id)
{
- $session = array();
- $this->sessionStorage->setStorage($session);
+ session_flush();
if ($user_id > 0) {
$user = $this->userModel->getById($user_id);