Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
6482708f
Commit
6482708f
authored
Jun 01, 2004
by
Kjartan
Browse files
- Fixing watchdog menu so the filters work.
parent
7a33d9f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/watchdog.module
View file @
6482708f
...
...
@@ -50,7 +50,7 @@ function watchdog_link($type) {
if
(
arg
(
1
)
==
'logs'
)
{
foreach
(
_watchdog_get_message_types
()
as
$type
)
{
menu
(
"admin/logs/
$type
"
,
t
(
$type
),
user_access
(
'administer watchdog'
)
?
'watchdog_overview'
:
MENU_DENIED
,
0
,
MENU_SHOW
,
MENU_LOCKED
);
menu
(
"admin/logs/
$type
"
,
t
(
$type
),
MENU_FALLTHROUGH
,
0
,
MENU_SHOW
,
MENU_LOCKED
);
}
}
}
...
...
modules/watchdog/watchdog.module
View file @
6482708f
...
...
@@ -50,7 +50,7 @@ function watchdog_link($type) {
if
(
arg
(
1
)
==
'logs'
)
{
foreach
(
_watchdog_get_message_types
()
as
$type
)
{
menu
(
"admin/logs/
$type
"
,
t
(
$type
),
user_access
(
'administer watchdog'
)
?
'watchdog_overview'
:
MENU_DENIED
,
0
,
MENU_SHOW
,
MENU_LOCKED
);
menu
(
"admin/logs/
$type
"
,
t
(
$type
),
MENU_FALLTHROUGH
,
0
,
MENU_SHOW
,
MENU_LOCKED
);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment