summaryrefslogtreecommitdiff
path: root/modules/drupal
diff options
context:
space:
mode:
Diffstat (limited to 'modules/drupal')
-rw-r--r--modules/drupal/drupal.module10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module
index 388b8dac6..a4da75208 100644
--- a/modules/drupal/drupal.module
+++ b/modules/drupal/drupal.module
@@ -185,11 +185,13 @@ function drupal_auth($username, $password, $server) {
/**
* Implementation of hook_menu().
*/
-function drupal_menu() {
+function drupal_menu($may_cache) {
$items = array();
- $items[] = array('path' => 'drupal', 'title' => t('Drupal'),
- 'callback' => 'drupal_page_help', 'access' => TRUE,
- 'type' => MENU_SUGGESTED_ITEM);
+ if ($may_cache) {
+ $items[] = array('path' => 'drupal', 'title' => t('Drupal'),
+ 'callback' => 'drupal_page_help', 'access' => TRUE,
+ 'type' => MENU_SUGGESTED_ITEM);
+ }
return $items;
}