Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3443488
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3443488
Commits
7bcd22f1
Commit
7bcd22f1
authored
15 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#600466
by Dave Reid: removed unused path_admin_filter_get_keys().
parent
e419a37e
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/path/path.admin.inc
+2
-12
2 additions, 12 deletions
modules/path/path.admin.inc
with
2 additions
and
12 deletions
modules/path/path.admin.inc
+
2
−
12
View file @
7bcd22f1
...
...
@@ -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
]
:
''
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment