- Patch #600466 by Dave Reid: removed unused path_admin_filter_get_keys().
parent
e419a37e84
commit
7bcd22f1c8
|
@ -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