Project

General

Profile

Actions

Bug #91192

closed

Replace deprecated GeneralUtility::milliseconds()

Added by Chris topher over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2020-04-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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).


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #91001: Deprecate various GeneralUtility methodsClosedBenni Mack2020-04-11

Actions
Actions

Also available in: Atom PDF