Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
a53e34e8
Commit
a53e34e8
authored
Apr 14, 2003
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Removed the deprecated function menu_add().
parent
70f5b864
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
includes/menu.inc
includes/menu.inc
+0
-8
No files found.
includes/menu.inc
View file @
a53e34e8
<?php
// $Id$
// TODO:
// 1. add 'access' flag.
function
menu_add
()
{
trigger_error
(
t
(
"The 'menu_add()' function is deprecated."
),
E_USER_ERROR
);
// Note that this function will be removed shortly.
}
function
menu
(
$path
,
$title
,
$callback
=
NULL
,
$help
=
NULL
,
$weight
=
0
,
$hidden
=
0
)
{
global
$_gmenu
;
...
...
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