Refactor dynamic App::getProfiler() to static DI::profiler()
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user