Problem/Motivation

Constant REQUEST_TIME is deprecated. See: https://www.drupal.org/node/2785211
File:

  • backup_migrate/src/Entity/Schedule.php
  • backup_migrate/src/Controller/ScheduleListBuilder.php

Proposed resolution

Use \Drupal::time()->getRequestTime();

Remaining tasks

  1. Create patch
  2. Needs Review

User interface changes

None.

API changes

None.

Data model changes

None.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

i-trokhanenko created an issue. See original summary.

i-trokhanenko’s picture

Assigned: i-trokhanenko » Unassigned
Issue summary: View changes
Status: Active » Needs review
FileSize
2.63 KB

Please review.

Roman Dyn’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Applied patch #2. It works well! Need commit. Thanks.

DamienMcKenna’s picture

Status: Reviewed & tested by the community » Fixed
Parent issue: » #3009642: Plan for Backup and Migrate 8.x-4.1

Committed. Thanks.

Status: Fixed » Closed (fixed)

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