- Patch #600466 by Dave Reid: removed unused path_admin_filter_get_keys().
parent
e419a37e84
commit
7bcd22f1c8
|
@ -66,8 +66,8 @@ function path_admin_overview($keys = NULL) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$build['path_table'] = array(
|
$build['path_table'] = array(
|
||||||
'#theme' => 'table',
|
'#theme' => 'table',
|
||||||
'#header' => $header,
|
'#header' => $header,
|
||||||
'#rows' => $rows
|
'#rows' => $rows
|
||||||
);
|
);
|
||||||
$build['path_pager'] = array('#theme' => 'pager');
|
$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) {
|
function path_admin_filter_form_submit_reset($form, &$form_state) {
|
||||||
$form_state['redirect'] = 'admin/config/search/path/list';
|
$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] : '';
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue