]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Theme.php
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
[friendica.git] / src / Core / Theme.php
index dea3e20e647b2ed0740a6535d135c2b80863b2b3..a4dfe2f9fad1b6a8660e9f7b2190ed15f2a69ed0 100644 (file)
@@ -73,10 +73,9 @@ class Theme
                        return $info;
                }
 
-               $a = \get_app();
                $stamp1 = microtime(true);
                $theme_file = file_get_contents("view/theme/$theme/theme.php");
-               $a->getProfiler()->saveTimestamp($stamp1, "file", System::callstack());
+               DI::profiler()->saveTimestamp($stamp1, "file", System::callstack());
 
                $result = preg_match("|/\*.*\*/|msU", $theme_file, $matches);