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
d18daf82
Commit
d18daf82
authored
14 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#421838
by jhodgdon, mradcliffe, jbrown: admin/reports/search dependent on dblog module.
parent
87f1bf45
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/dblog/dblog.module
+12
-0
12 additions, 0 deletions
modules/dblog/dblog.module
modules/search/search.module
+0
-9
0 additions, 9 deletions
modules/search/search.module
with
12 additions
and
9 deletions
modules/dblog/dblog.module
+
12
−
0
View file @
d18daf82
...
...
@@ -70,6 +70,18 @@ function dblog_menu() {
'type'
=>
MENU_CALLBACK
,
'file'
=>
'dblog.admin.inc'
,
);
if
(
module_exists
(
'search'
))
{
$items
[
'admin/reports/search'
]
=
array
(
'title'
=>
'Top search phrases'
,
'description'
=>
'View most popular search phrases.'
,
'page callback'
=>
'dblog_top'
,
'page arguments'
=>
array
(
'search'
),
'access arguments'
=>
array
(
'access site reports'
),
'file'
=>
'dblog.admin.inc'
,
);
}
return
$items
;
}
...
...
This diff is collapsed.
Click to expand it.
modules/search/search.module
+
0
−
9
View file @
d18daf82
...
...
@@ -188,15 +188,6 @@ function search_menu() {
'type'
=>
MENU_CALLBACK
,
'file'
=>
'search.admin.inc'
,
);
$items
[
'admin/reports/search'
]
=
array
(
'title'
=>
'Top search phrases'
,
'description'
=>
'View most popular search phrases.'
,
'page callback'
=>
'dblog_top'
,
'page arguments'
=>
array
(
'search'
),
'access arguments'
=>
array
(
'access site reports'
),
'file path'
=>
drupal_get_path
(
'module'
,
'dblog'
),
'file'
=>
'dblog.admin.inc'
,
);
// Add paths for searching. We add each module search path twice: once without
// and once with %menu_tail appended. The reason for this is that we want to
...
...
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