- Removed the deprecated function menu_add().
parent
70f5b8649b
commit
a53e34e80e
|
@ -1,14 +1,6 @@
|
|||
<?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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue