]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Addon.php
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
[friendica.git] / src / Core / Addon.php
index 59e1ec7b96d2b2f9ad4819604848376c37abdc09..252acd31f0e270d1c0da4b0ef5f2c76e4eb1b6c3 100644 (file)
@@ -286,7 +286,7 @@ class Addon
 
                $stamp1 = microtime(true);
                $f = file_get_contents("addon/$addon/$addon.php");
-               $a->getProfiler()->saveTimestamp($stamp1, "file", System::callstack());
+               DI::profiler()->saveTimestamp($stamp1, "file", System::callstack());
 
                $r = preg_match("|/\*.*\*/|msU", $f, $m);