Problem/Motivation

The REQUEST_TIME global constant has also been deprecated, scheduled to be removed before 9.0.0
https://www.drupal.org/node/2785211

Proposed resolution

Replace the REQUEST_TIME with the \Drupal::time()->getRequestTime()

Remaining tasks

Nil

User interface changes

Nil

API changes

Nil

Data model changes

Nil

Comments

arunkumark created an issue. See original summary.

arunkumark’s picture

Status: Active » Needs review
StatusFileSize
new1.12 KB

Created the patch to resolve the problem.

emartoni’s picture

Assigned: arunkumark » Unassigned
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new20.54 KB

Patch works!

Thanks.

wundo’s picture

  • wundo committed 75811ed on 8.x-1.x authored by arunkumark
    Issue #2959161 by arunkumark: REQUEST_TIME is deprecated
    
wundo’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.