Commit 7d675ad0 authored by catch's avatar catch

Issue #2080685 by BerdArt, chertzog: Remove Unused local variable...

Issue #2080685 by BerdArt, chertzog: Remove Unused local variable $notification_level from /core/modules/update/update.report.inc.
parent 9c2b1650
......@@ -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 .= "<div class=\"info\">\n";
if (!empty($project['extra'])) {
$row .= '<div class="extra">' . "\n";
foreach ($project['extra'] as $key => $value) {
foreach ($project['extra'] as $value) {
$row .= '<div class="' . implode(' ', $value['class']) . '">';
$row .= check_plain($value['label']) . ': ';
$row .= drupal_placeholder($value['data']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment