Commit 2a475d49 authored by pifagor's avatar pifagor
Browse files

Issue #2945137: Unused variables

parent 06b10406
......@@ -953,7 +953,6 @@ function link_field_process($element, $form_state, $complete_form) {
);
}
elseif ($settings['title'] == 'select') {
$options = array('' => t('<none>'));
$options = drupal_map_assoc(array_filter(explode("\n", str_replace("\r", "\n", trim($settings['title_allowed_values'])))));
$element['title'] = array(
'#type' => 'select',
......
......@@ -264,8 +264,6 @@ class LinkTokenTest extends LinkBaseTestClass {
// So, having saved this field_name, let's see if it works...
$this->acquireNodes(1);
$node = node_load($this->nodes[0]->nid);
$this->drupalGet('node/' . $this->nodes[0]->nid);
$edit = array();
......
......@@ -282,8 +282,6 @@ class LinkValidateTest extends LinkValidateTestCase {
$this->acquireNodes(2);
$node = node_load($this->nodes[0]->nid);
$this->drupalGet('node/' . $this->nodes[0]->nid);
$edit = array();
......
Supports Markdown
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