summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-07-15 17:16:58 +0000
committerDries Buytaert <dries@buytaert.net>2004-07-15 17:16:58 +0000
commit7765fa1f7aea4bb72820093cb6f3bcf6b0b1cc34 (patch)
tree4e280f65f57b7d55a33f009269bca6020ae05b60 /includes
parent1c4cc2623e28ad73625cbb3fed49ec37d8e627f1 (diff)
downloadbrdo-7765fa1f7aea4bb72820093cb6f3bcf6b0b1cc34.tar.gz
brdo-7765fa1f7aea4bb72820093cb6f3bcf6b0b1cc34.tar.bz2
- Patch #9290 by Morbus / JonBob / TDobes: SUBTASK removal patch for menu.inc.
Diffstat (limited to 'includes')
-rw-r--r--includes/menu.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index a3553d250..84f855a57 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -73,7 +73,6 @@ define('MENU_MODIFIABLE_BY_ADMIN', 0x0010);
define('MENU_MODIFIED_BY_ADMIN', 0x0020);
define('MENU_CREATED_BY_ADMIN', 0x0040);
define('MENU_IS_LOCAL_TASK', 0x0080);
-define('MENU_IS_LOCAL_SUBTASK', 0x0100);
define('MENU_LINKS_TO_PARENT', 0x0200);
/**
* @}
@@ -381,7 +380,7 @@ function menu_get_active_nontask_item() {
$mid = menu_get_active_item();
// Find the first non-task item:
- while ($mid && (($menu['items'][$mid]['type'] & MENU_LOCAL_TASK) || ($menu['items'][$mid]['type'] & MENU_LOCAL_SUBTASK))) {
+ while ($mid && ($menu['items'][$mid]['type'] & MENU_IS_LOCAL_TASK)) {
$mid = $menu['items'][$mid]['pid'];
}