From a0344101f122248c3069a5dcfa3ebfcb67215d5a Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 20 Nov 2020 09:02:39 +0000 Subject: [PATCH] Rendertime: possibility to define a minimal value for displaying the execution times --- rendertime/rendertime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rendertime/rendertime.php b/rendertime/rendertime.php index acc6521a5..9edfde0b8 100644 --- a/rendertime/rendertime.php +++ b/rendertime/rendertime.php @@ -50,7 +50,7 @@ function rendertime_page_end(Friendica\App $a, &$o) if ($profiler->isRendertime()) { $o .= '
';
-			$o .= $profiler->getRendertimeString();
+			$o .= $profiler->getRendertimeString(DI::config()->get('rendertime', 'minimal_time', 0));
 			$o .= '
'; } }