Skip to content

Commit

Permalink
Removed function dol_micro_time. Use native PHP microtime instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Sep 13, 2019
1 parent 48e03e1 commit 166d56f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions htdocs/core/lib/functions.lib.php
Expand Up @@ -5753,20 +5753,6 @@ function dol_nboflines_bis($text, $maxlinesize = 0, $charset = 'UTF-8')
return $nblines;
}

/**
* Same function than microtime in PHP 5 but compatible with PHP4
*
* @return float Time (millisecondes) with microsecondes in decimal part
* @deprecated Dolibarr does not support PHP4, you should use native function
* @see microtime()
*/
function dol_microtime_float()
{
dol_syslog(__FUNCTION__ . " is deprecated", LOG_WARNING);

return microtime(true);
}

/**
* Return if a text is a html content
*
Expand Down

0 comments on commit 166d56f

Please sign in to comment.