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:
Ingo Schommer 2009-10-28 09:16:52 +00:00
parent 3d6c6a58d0
commit 3aaea995e9

View File

@ -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);
}
?>