Use time service in KeyValueDatabaseExpirableFactory and DatabaseStorageExpirable classes

Created on 20 December 2017, over 6 years ago
Updated 27 February 2024, 4 months ago

Problem/Motivation

REQUEST_TIME constant is marked as deprecated and a time service was added to 8.3.x in #2717207: Add a time service to provide consistent interaction with time()/microtime() and superglobals → .
See parent issue 📌 [meta][no patch] Replace uses of REQUEST_TIME and time() with time service Active for full description.
Here is the change record → also.

Proposed resolution

All occurrence in code should be updated to remove deprecated uses of REQUEST_TIME, time() and microtime().

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

📌 Task
Status

Closed: outdated

Version

11.0 🔥

Component
Base  →

Last updated 1 minute ago

Created by

🇮🇹Italy gigiabba

Live updates comments and jobs are added and updated live.
  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024