X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FApp.php;h=de8311848969c079ad530122c5c81c776fbad87d;hb=e713db4ac7f30b6325e8cca4899fc27a1317ba0c;hp=fca8052e321434c313615b53daacbfc3aa2cc484;hpb=5fb83d0632553bc7f273d44c6082c2fbdc1124bd;p=friendica.git diff --git a/src/App.php b/src/App.php index fca8052e32..de83118489 100644 --- a/src/App.php +++ b/src/App.php @@ -415,12 +415,9 @@ class App * @throws HTTPException\InternalServerErrorException * @throws \ImagickException */ - public function runFrontend(App\Module $module, App\Router $router, IPConfig $pconfig, Authentication $auth, App\Page $page, int $start_time = 0) + public function runFrontend(App\Module $module, App\Router $router, IPConfig $pconfig, Authentication $auth, App\Page $page, float $start_time) { - if ($start_time != 0) { - $this->profiler->set($start_time, 'start'); - } - + $this->profiler->set($start_time, 'start'); $this->profiler->set(microtime(true), 'classinit'); $moduleName = $module->getName();