From 7bcd22f1c85cc20c3a0d959a216409ee0d8b66ad Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 10 Oct 2009 20:46:17 +0000 Subject: [PATCH] - Patch #600466 by Dave Reid: removed unused path_admin_filter_get_keys(). --- modules/path/path.admin.inc | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/modules/path/path.admin.inc b/modules/path/path.admin.inc index 7d341f048c1..8cd3b1cf7e5 100644 --- a/modules/path/path.admin.inc +++ b/modules/path/path.admin.inc @@ -66,8 +66,8 @@ function path_admin_overview($keys = NULL) { } $build['path_table'] = array( - '#theme' => 'table', - '#header' => $header, + '#theme' => 'table', + '#header' => $header, '#rows' => $rows ); $build['path_pager'] = array('#theme' => 'pager'); @@ -250,13 +250,3 @@ function path_admin_filter_form_submit_filter($form, &$form_state) { function path_admin_filter_form_submit_reset($form, &$form_state) { $form_state['redirect'] = 'admin/config/search/path/list'; } - - -/** - * Helper function for grabbing filter keys. - */ -function path_admin_filter_get_keys() { - // Extract keys as remainder of path - $path = explode('/', $_GET['q'], 5); - return count($path) == 5 ? $path[4] : ''; -}