]> git.mxchange.org Git - friendica.git/blobdiff - src/App/Page.php
Add MessageDirect\Search tests
[friendica.git] / src / App / Page.php
index 479abfed92dc16ccaefe1aa85ce7e4f4ddec18a1..2b8fa26854e4db79e9e1c633859814df44f4fd7d 100644 (file)
@@ -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']);
                }