X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFactory%2FSessionFactory.php;h=491573033bd4b22994ddda1ce06381d47be5f199;hb=3e6fea30f2f3bc2352b6e16e1d48e204cde3696b;hp=f513eef35f797a20c7098382744232593fdf0cc6;hpb=01640a7045e146759bc936dd499ac27738b78940;p=friendica.git diff --git a/src/Factory/SessionFactory.php b/src/Factory/SessionFactory.php index f513eef35f..491573033b 100644 --- a/src/Factory/SessionFactory.php +++ b/src/Factory/SessionFactory.php @@ -1,6 +1,6 @@ startRecording('session'); $session = null; try { @@ -77,7 +77,7 @@ class SessionFactory if ($config->get('system', 'cache_driver') === Type::DATABASE) { $handler = new Session\Handler\Database($dba, $logger, $server); } else { - $handler = new Session\Handler\Cache($cache, $logger, $server); + $handler = new Session\Handler\Cache($cache); } break; } @@ -85,7 +85,7 @@ class SessionFactory $session = new Session\Native($baseURL, $handler); } } finally { - $profiler->saveTimestamp($stamp1, 'parser', System::callstack()); + $profiler->stopRecording(); return $session; } }