diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-07-07 16:48:55 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-07-07 16:48:55 +0000 |
| commit | 9e0b48fb75994f2c98c39a866d6b743e506ccee4 (patch) | |
| tree | 289548657b1e1a543d03fa73459a6517d2c8a5a7 /roundcubemail/program/include | |
| parent | 7855a5d2f87cf1907a8eb4ddc3d55a8f27d3f9ff (diff) | |
- added 3rd argument to rcube_print_time()
git-svn-id: https://svn.roundcube.net/trunk@2720 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/main.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc index d8b832844..ac2906d4a 100644 --- a/roundcubemail/program/include/main.inc +++ b/roundcubemail/program/include/main.inc @@ -1034,7 +1034,7 @@ function rcube_timer() /** * @access private */ -function rcube_print_time($timer, $label='Timer') +function rcube_print_time($timer, $label='Timer', $dest='console') { static $print_count = 0; @@ -1045,7 +1045,7 @@ function rcube_print_time($timer, $label='Timer') if (empty($label)) $label = 'Timer '.$print_count; - console(sprintf("%s: %0.4f sec", $label, $diff)); + write_log($dest, sprintf("%s: %0.4f sec", $label, $diff)); } |
