Issue #2080685 by BerdArt, chertzog: Remove Unused local variable $notification_level from /core/modules/update/update.report.inc.

8.0.x
Nathaniel Catchpole 2013-12-03 14:16:52 +00:00
parent 9c2b1650c7
commit 7d675ad098
1 changed files with 1 additions and 3 deletions

View File

@ -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']);