From a3a420c3e6f3805a91448c877a8a423f7232198c Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 12 Oct 2008 06:27:06 +0000 Subject: Roll-back of #242873: This caused horrendous problems with SimpleTest on some configurations. --- modules/profile/profile.admin.inc | 4 ++-- modules/profile/profile.pages.inc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/profile') diff --git a/modules/profile/profile.admin.inc b/modules/profile/profile.admin.inc index 01f3bda32..262254ee4 100644 --- a/modules/profile/profile.admin.inc +++ b/modules/profile/profile.admin.inc @@ -175,7 +175,7 @@ function profile_field_form(&$form_state, $arg = NULL) { drupal_not_found(); return; } - drupal_set_title(t('edit %title', array('%title' => $edit['title'])), PASS_THROUGH); + drupal_set_title(t('edit %title', array('%title' => $edit['title']))); $form['fid'] = array('#type' => 'value', '#value' => $fid, ); @@ -193,7 +193,7 @@ function profile_field_form(&$form_state, $arg = NULL) { return; } $type = $arg; - drupal_set_title(t('add new %type', array('%type' => $types[$type])), PASS_THROUGH); + drupal_set_title(t('add new %type', array('%type' => $types[$type]))); $edit = array('name' => 'profile_'); $form['type'] = array('#type' => 'value', '#value' => $type); } diff --git a/modules/profile/profile.pages.inc b/modules/profile/profile.pages.inc index 4c1e3678c..6b98c7c84 100644 --- a/modules/profile/profile.pages.inc +++ b/modules/profile/profile.pages.inc @@ -73,7 +73,7 @@ function profile_browse() { $title = check_plain($field->page); } - drupal_set_title($title, PASS_THROUGH); + drupal_set_title($title); return $output; } elseif ($name && !$field->fid) { @@ -99,7 +99,7 @@ function profile_browse() { $output = theme('profile_wrapper', $content); $output .= theme('pager', NULL, 20); - drupal_set_title(t('User list'), PASS_THROUGH); + drupal_set_title(t('User list')); return $output; } } -- cgit v1.2.3