mirror of
https://github.com/friendica/friendica
synced 2025-05-09 15:04:10 +02:00
Fix the performance calculation for the content
This commit is contained in:
parent
0844e3f8a6
commit
7218d6e171
2 changed files with 4 additions and 1 deletions
|
@ -420,7 +420,6 @@ class Page implements ArrayAccess
|
|||
*/
|
||||
$timestamp = microtime(true);
|
||||
$this->initContent($response, $mode);
|
||||
$profiler->set(microtime(true) - $timestamp, 'content');
|
||||
|
||||
// Load current theme info after module has been initialized as theme could have been set in module
|
||||
$currentTheme = $app->getCurrentTheme();
|
||||
|
@ -448,6 +447,8 @@ class Page implements ArrayAccess
|
|||
*/
|
||||
$this->initFooter($app, $mode, $l10n);
|
||||
|
||||
$profiler->set(microtime(true) - $timestamp, 'aftermath');
|
||||
|
||||
if (!$mode->isAjax()) {
|
||||
Hook::callAll('page_end', $this->page['content']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue