diff --git a/framework/helper.class.php b/framework/helper.class.php index 9de93059f4..1147271e04 100644 --- a/framework/helper.class.php +++ b/framework/helper.class.php @@ -390,31 +390,6 @@ function formatTime($time, $format = '') return trim($time); } -/** - * Display time consuming. - * - * @param string $tag - * @access public - * @return void - */ -function t($tag = '') -{ - global $last; - $time = microtime(); - - if($last) - { - list($lms, $ls) = explode(' ', $last); - list($ms, $s) = explode(' ', $time); - a("$tag: time consuming=" . ($s - $ls + round($ms - $lms, 3)) . 's'); - } - else - { - a("$tag: current time={$time}"); - } - $last = $time; -} - /** * Fix for session error. *