mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Removed unnecessary profiler_start()/profiler_stop() global methods from Profiler.php
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@90321 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3d6c6a58d0
commit
3aaea995e9
@ -231,15 +231,4 @@ class Profiler {
|
||||
$this->running[$name] += $this->elapsedTime($name);
|
||||
}
|
||||
}
|
||||
|
||||
function profiler_start($name) {
|
||||
if (array_key_exists("midcom_profiler",$GLOBALS))
|
||||
$GLOBALS["midcom_profiler"]->startTimer ($name);
|
||||
}
|
||||
|
||||
function profiler_stop($name) {
|
||||
if (array_key_exists("midcom_profiler",$GLOBALS))
|
||||
$GLOBALS["midcom_profiler"]->stopTimer ($name);
|
||||
}
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user