Fix comment, Profiler::getFunctionReport() no longer logs data itself.
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 8 Feb 2012 15:23:09 +0000 (15:23 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 8 Feb 2012 15:23:09 +0000 (15:23 +0000)
includes/profiler/Profiler.php

index dadd142..0fe18c2 100644 (file)
@@ -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();