Skip to content

Commit

Permalink
Issue #3146474 by shaktik, kiamlaluno: Remove Unused variable $next f…
Browse files Browse the repository at this point in the history
…rom AggregatorController.php file

(cherry picked from commit 5866d881998893098db1d21bf78beef3db9d33b5)
  • Loading branch information
xjm committed Jun 24, 2020
1 parent 3ebca2f commit 141f13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/aggregator/src/Controller/AggregatorController.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function adminOverview() {
$next_update = $this->t('imminently');
}
elseif ($last_checked && $refresh_rate) {
$next_update = $next = $this->t('%time left', ['%time' => $this->dateFormatter->formatInterval($last_checked + $refresh_rate - REQUEST_TIME)]);
$next_update = $this->t('%time left', ['%time' => $this->dateFormatter->formatInterval($last_checked + $refresh_rate - REQUEST_TIME)]);
}
else {
$next_update = $this->t('never');
Expand Down

0 comments on commit 141f13c

Please sign in to comment.