- Removed the deprecated function menu_add().

4.2.x
Dries Buytaert 2003-04-14 20:29:31 +00:00
parent 70f5b8649b
commit a53e34e80e
1 changed files with 0 additions and 8 deletions

View File

@ -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;