Issue Bug Closed

#91192Replace deprecated GeneralUtility::milliseconds()

Chris topher 04/25/20, 11:09 updated 04/28/20, 11:09

Description

Opening an FE page with indexed_search activated gives this message:

Deprecated: GeneralUtility::milliseconds() will be removed in TYPO3 v11.0. Use the native PHP functions round(microtime(true) * 1000) instead.

Reason is that typo3\sysext\indexed_search\Classes\Indexer.php contains two usages of GeneralUtility::milliseconds().

They should both be replaced with round(microtime(true) * 1000).

Reviews 1