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
f592a5a6
Commit
f592a5a6
authored
Sep 27, 2005
by
Dries
Browse files
- Patch
#27669
by ax: fixed menu system status reporting.
parent
50ac9d3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/menu.module
View file @
f592a5a6
...
...
@@ -570,8 +570,6 @@ function menu_node_form($edit = array()) {
* Remove the menu item.
*/
function
menu_node_form_delete
(
$node
)
{
if
(
db_query
(
"DELETE FROM
{
menu
}
WHERE path = 'node/%s'"
,
$node
->
nid
))
{
drupal_set_message
(
t
(
'The menu item has been removed.'
));
}
db_query
(
"DELETE FROM
{
menu
}
WHERE path = 'node/%s'"
,
$node
->
nid
);
}
modules/menu/menu.module
View file @
f592a5a6
...
...
@@ -570,8 +570,6 @@ function menu_node_form($edit = array()) {
* Remove the menu item.
*/
function
menu_node_form_delete
(
$node
)
{
if
(
db_query
(
"DELETE FROM
{
menu
}
WHERE path = 'node/%s'"
,
$node
->
nid
))
{
drupal_set_message
(
t
(
'The menu item has been removed.'
));
}
db_query
(
"DELETE FROM
{
menu
}
WHERE path = 'node/%s'"
,
$node
->
nid
);
}
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