Merge "Disabling profiling in the debug toolbar for ProfilerSimple (for now)"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 9 Apr 2014 22:00:05 +0000 (22:00 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 9 Apr 2014 22:00:05 +0000 (22:00 +0000)
includes/profiler/ProfilerSimple.php

index 6331a30..36f4bd4 100644 (file)
@@ -123,6 +123,12 @@ class ProfilerSimple extends Profiler {
                }
        }
 
+       public function getRawData() {
+               // Calling the method of the parent class results in fatal error.
+               // @todo Implement this correctly.
+               return array();
+       }
+
        public function getFunctionReport() {
                /* Implement in output subclasses */
                return '';