summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-04-14 20:29:31 +0000
committerDries Buytaert <dries@buytaert.net>2003-04-14 20:29:31 +0000
commita53e34e80e72893844ac1a49b4c7623f1874c6a8 (patch)
treecd2ea462f32229445d8d7828d8c4619f73976d7a
parent70f5b8649bbd6c7d115fbbf9c1976d9f82b4e8d4 (diff)
downloadbrdo-a53e34e80e72893844ac1a49b4c7623f1874c6a8.tar.gz
brdo-a53e34e80e72893844ac1a49b4c7623f1874c6a8.tar.bz2
- Removed the deprecated function menu_add().
-rw-r--r--includes/menu.inc8
1 files changed, 0 insertions, 8 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index 3a2179376..42f1fa39e 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -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;