Project

General

Profile

Actions

Bug #91192

closed

Replace deprecated GeneralUtility::milliseconds()

Added by Chris topher about 4 years ago. Updated almost 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 #1

Updated by Georg Ringer about 4 years ago

  • Status changed from New to Accepted
Actions #2

Updated by Georg Ringer about 4 years ago

  • Related to Task #91001: Deprecate various GeneralUtility methods added
Actions #3

Updated by Gerrit Code Review almost 4 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64316

Actions #4

Updated by Gerrit Code Review almost 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64316

Actions #5

Updated by Georg Ringer almost 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack almost 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF