From b560f66124e73d210ebc5a95be247993e8ae1e10 Mon Sep 17 00:00:00 2001 From: webchick <webchick@24967.no-reply.drupal.org> Date: Thu, 29 Aug 2013 08:03:51 -0700 Subject: [PATCH] Issue #2072583 by legolasbo: Remove Unused local variable from /core/modules/views/lib/Drupal/views/ViewExecutable.php. --- core/modules/views/lib/Drupal/views/ViewExecutable.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php index 887c60072197..bf1dbf8fd1e0 100644 --- a/core/modules/views/lib/Drupal/views/ViewExecutable.php +++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php @@ -1173,7 +1173,6 @@ public function _build($key) { foreach ($multiple_exposed_input as $group_id) { // Give this handler access to the exposed filter input. if (!empty($this->exposed_data)) { - $converted = FALSE; if ($handlers[$id]->isAGroup()) { $converted = $handlers[$id]->convertExposedInput($this->exposed_data, $group_id); $handlers[$id]->storeGroupInput($this->exposed_data, $converted); @@ -1278,7 +1277,6 @@ public function render($display_id = NULL) { } drupal_theme_initialize(); - $config = \Drupal::config('views.settings'); $exposed_form = $this->display_handler->getPlugin('exposed_form'); $exposed_form->preRender($this->result); @@ -1636,7 +1634,7 @@ public function getUrl($args = NULL, $path = NULL) { // Exclude arguments that were computed, not passed on the URL. $position = 0; if (!empty($this->argument)) { - foreach ($this->argument as $argument_id => $argument) { + foreach ($this->argument as $argument) { if (!empty($argument->is_default) && !empty($argument->options['default_argument_skip_url'])) { unset($args[$position]); } -- GitLab