As REQUEST_TIME deprecated, usage of this constant should be replaced by @datetime.time service.

Comments

kala4ek created an issue. See original summary.

kala4ek’s picture

Status: Active » Needs review
StatusFileSize
new1.87 KB

Here is the patch that does it.

kala4ek’s picture

StatusFileSize
new1.89 KB

There was the wrong comment for the new variable.
Also, renamed variable according to drupal standards.

Status: Needs review » Needs work

The last submitted patch, 3: deprecated_constant-2935278-3.patch, failed testing. View results

kala4ek’s picture

Status: Needs work » Needs review

Sent to retest.

socketwench’s picture

Status: Needs review » Fixed

Looks good! Committed!

  • kala4ek authored aba5e15 on 8.x-4.x
    Issue #2935278 by kala4ek: Fixed deprecated constant REQUEST_TIME.
    

Status: Fixed » Closed (fixed)

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