Commit 4f8fc3a6 authored by webchick's avatar webchick

Issue #1999436 by kim.pepper, bojanz, sidharthap, effulgentsia, tim.plunkett:...

Issue #1999436 by kim.pepper, bojanz, sidharthap, effulgentsia, tim.plunkett: Use Symfony Request for taxonomy module.
parent d4da27e5
......@@ -239,9 +239,8 @@ public function save(array $form, array &$form_state) {
*/
public function delete(array $form, array &$form_state) {
$destination = array();
if (isset($_GET['destination'])) {
if ($this->getRequest()->query->has('destination')) {
$destination = drupal_get_destination();
unset($_GET['destination']);
}
$form_state['redirect'] = array('taxonomy/term/' . $this->entity->id() . '/delete', array('query' => $destination));
}
......
Markdown is supported
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