diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/TermFormController.php b/core/modules/taxonomy/lib/Drupal/taxonomy/TermFormController.php index 7c1205a..ef633c4 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/TermFormController.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/TermFormController.php @@ -199,14 +199,9 @@ public function save(array $form, array &$form_state) { */ public function delete(array $form, array &$form_state) { $destination = array(); - // @todo: Revisit this when http://drupal.org/node/1668866 is in. $query = \Drupal::request()->query; if ($query->has('destination')) { $destination = drupal_get_destination(); - $query->remove('destination'); - // @todo For whatever reason drupal_goto is still using $_GET. - // @see http://drupal.org/node/1668866 - unset($_GET['destination']); } $form_state['redirect'] = array('taxonomy/term/' . $this->entity->id() . '/delete', array('query' => $destination)); }