diff --git a/core/modules/update/update.report.inc b/core/modules/update/update.report.inc index 4c5264e0f86..039a506b211 100644 --- a/core/modules/update/update.report.inc +++ b/core/modules/update/update.report.inc @@ -32,8 +32,6 @@ function theme_update_report($variables) { $header = array(); $rows = array(); - $notification_level = \Drupal::config('update.settings')->get('notification.threshold'); - // Create an array of status values keyed by module or theme name, since // we'll need this while generating the report if we have to cross reference // anything (e.g. subthemes which have base themes missing an update). @@ -201,7 +199,7 @@ function theme_update_report($variables) { $row .= "
\n"; if (!empty($project['extra'])) { $row .= '
' . "\n"; - foreach ($project['extra'] as $key => $value) { + foreach ($project['extra'] as $value) { $row .= '
'; $row .= check_plain($value['label']) . ': '; $row .= drupal_placeholder($value['data']);