From 6eb567c4bcc04df4d4791c2f91661752a7de990a Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Wed, 8 Feb 2012 15:23:09 +0000 Subject: [PATCH] Fix comment, Profiler::getFunctionReport() no longer logs data itself. --- includes/profiler/Profiler.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/profiler/Profiler.php b/includes/profiler/Profiler.php index dadd14267f..0fe18c2566 100644 --- a/includes/profiler/Profiler.php +++ b/includes/profiler/Profiler.php @@ -372,7 +372,8 @@ class Profiler { /** * Returns a list of profiled functions. - * Also log it into the database if $wgProfileToDatabase is set to true. + * + * @return string */ function getFunctionReport() { $this->collateData(); -- 2.20.1