From 361c7c7ed89ed340e348ed73310819bda8b23ff0 Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter Date: Fri, 14 Apr 2006 22:16:02 +0000 Subject: #58034, make suggested menu items show up in breadcrumbs, results in less code. Patch by Zen --- modules/contact.module | 3 --- modules/contact/contact.module | 3 --- 2 files changed, 6 deletions(-) (limited to 'modules') diff --git a/modules/contact.module b/modules/contact.module index c9ddcca14..8008034dd 100644 --- a/modules/contact.module +++ b/modules/contact.module @@ -408,9 +408,6 @@ function contact_mail_user_submit($form_id, $edit) { function contact_mail_page() { global $user; - $breadcrumb[] = array('path' => 'contact', 'title' => t('contact')); - menu_set_location($breadcrumb); - if (!flood_is_allowed('contact', variable_get('contact_hourly_threshold', 3))) { $output = t("You cannot send more than %number messages per hour. Please try again later.", array('%number' => variable_get('contact_hourly_threshold', 3))); } diff --git a/modules/contact/contact.module b/modules/contact/contact.module index c9ddcca14..8008034dd 100644 --- a/modules/contact/contact.module +++ b/modules/contact/contact.module @@ -408,9 +408,6 @@ function contact_mail_user_submit($form_id, $edit) { function contact_mail_page() { global $user; - $breadcrumb[] = array('path' => 'contact', 'title' => t('contact')); - menu_set_location($breadcrumb); - if (!flood_is_allowed('contact', variable_get('contact_hourly_threshold', 3))) { $output = t("You cannot send more than %number messages per hour. Please try again later.", array('%number' => variable_get('contact_hourly_threshold', 3))); } -- cgit v1.2.3