1
0

Replace microtime_float() by microtime(true).

This commit is contained in:
2022-02-13 23:02:08 +01:00
parent 12e9df52de
commit fc78f871ed
3 changed files with 4 additions and 18 deletions

View File

@ -1240,20 +1240,6 @@ function serendipity_request_url($uri, $method = 'GET', $contenttype = null, $da
return $fContent;
}
if (!function_exists('microtime_float')) {
/**
* Get current timestamp as microseconds
*
* @access public
* @return float the time
*/
function microtime_float() {
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}
}
/**
* Converts Array data to be used as a GET string
*