Commit fd2be777 authored by Project Update Bot's avatar Project Update Bot Committed by Joao Ventura
Browse files

Issue #3289129 by Project Update Bot, jcnventura: Use...

Issue #3289129 by Project Update Bot, jcnventura: Use \Drupal::time()->getRequestTime() instead of REQUEST_TIME
parent 93f7a46f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ class PrevNextApi implements PrevNextApiInterface {
        ->fields([
          'prev_nid' => ($prev_nid) ? $prev_nid : 0,
          'next_nid' => ($next_nid) ? $next_nid : 0,
          'changed' => REQUEST_TIME,
          'changed' => \Drupal::time()->getRequestTime(),
        ])
        ->condition('nid', $entity_id)
        ->execute();
@@ -93,7 +93,7 @@ class PrevNextApi implements PrevNextApiInterface {
        ->fields([
          'prev_nid' => ($prev_nid) ? $prev_nid : 0,
          'next_nid' => ($next_nid) ? $next_nid : 0,
          'changed' => REQUEST_TIME,
          'changed' => \Drupal::time()->getRequestTime(),
          'nid' => $entity_id,
        ])
        ->execute();