summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-14 22:16:02 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-14 22:16:02 +0000
commit361c7c7ed89ed340e348ed73310819bda8b23ff0 (patch)
tree5d7caf53579d25ded3240a55e629d8cbdbf0b8f0 /modules
parent3bdc01fdfdcf71fe039752476d5eeb082f0ad056 (diff)
downloadbrdo-361c7c7ed89ed340e348ed73310819bda8b23ff0.tar.gz
brdo-361c7c7ed89ed340e348ed73310819bda8b23ff0.tar.bz2
#58034, make suggested menu items show up in breadcrumbs, results in less code. Patch by Zen
Diffstat (limited to 'modules')
-rw-r--r--modules/contact.module3
-rw-r--r--modules/contact/contact.module3
2 files changed, 0 insertions, 6 deletions
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)));
}