summaryrefslogtreecommitdiff
path: root/modules/path
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-10 20:46:17 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-10 20:46:17 +0000
commit7bcd22f1c85cc20c3a0d959a216409ee0d8b66ad (patch)
tree1ebe5c8bde7458e50e7630a3cb93d9a5ecdd61d6 /modules/path
parente419a37e843f703d71a320a3e165e42a9e6a127f (diff)
downloadbrdo-7bcd22f1c85cc20c3a0d959a216409ee0d8b66ad.tar.gz
brdo-7bcd22f1c85cc20c3a0d959a216409ee0d8b66ad.tar.bz2
- Patch #600466 by Dave Reid: removed unused path_admin_filter_get_keys().
Diffstat (limited to 'modules/path')
-rw-r--r--modules/path/path.admin.inc14
1 files changed, 2 insertions, 12 deletions
diff --git a/modules/path/path.admin.inc b/modules/path/path.admin.inc
index 7d341f048..8cd3b1cf7 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] : '';
-}