summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2013-10-15 05:01:03 (GMT)
committerwebchick2013-10-15 05:01:03 (GMT)
commite4c33468f95a152ac00974a000542e61cd2c79c0 (patch)
tree5b7f545c870f0cf2c04d9cfb9cbb78fc41f787a2
parent7e0cb37d842ddce73b23cc9604e35b829940f754 (diff)
Issue #2067993 by rhm50: Remove Unused local variable from /core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php.
-rw-r--r--core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php b/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php
index 338955c..6a2608c 100644
--- a/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php
+++ b/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php
@@ -111,7 +111,7 @@ class NodeTranslationUITest extends ContentTranslationUITest {
$values = array();
// Post different authoring information for each translation.
- foreach ($this->langcodes as $index => $langcode) {
+ foreach ($this->langcodes as $langcode) {
$user = $this->drupalCreateUser();
$values[$langcode] = array(
'uid' => $user->id(),
@@ -180,7 +180,6 @@ class NodeTranslationUITest extends ContentTranslationUITest {
// Create a node for each bundle.
$enabledNode = $this->drupalCreateNode(array('type' => $this->bundle));
- $disabledNode = $this->drupalCreateNode(array('type' => $disabledBundle));
// Make sure that only a single row was inserted into the
// {content_translation} table.