Disabling profiling in the debug toolbar for ProfilerSimple (for now)
authorAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Sat, 5 Apr 2014 18:09:16 +0000 (20:09 +0200)
committerAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Sat, 5 Apr 2014 18:12:32 +0000 (20:12 +0200)
commit8fea0e67112f8c3207bed34626dcbde41ce39c43
treec94c5d3f3763d4bbdae948c0bdaa1fbe465c21ff
parentee3dac0e86b867acc9b9492f9d160412417f37b6
Disabling profiling in the debug toolbar for ProfilerSimple (for now)

Throws a fatal error when using a ProfilerSimple subclass and the
debug toolbar (the problem is that $this->mCollated doesn't have
the same format in both cases):

Warning:  Invalid argument supplied for foreach() in includes/profiler/Profiler.php on line 625

Fatal error:  Unsupported operand types in includes/profiler/Profiler.php on line 633

Change-Id: I7f2bc714396a9249193a5828c154e09f7e0b5230
includes/profiler/ProfilerSimple.php