From c8daca07d29ee006f34d7e4978d2f774a1d3da9b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 29 Jan 2004 06:47:19 +0000 Subject: - Patch #5448 by pz: removed code duplication from theme.inc. --- includes/common.inc | 4 ++-- includes/theme.inc | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/includes/common.inc b/includes/common.inc index bc8c57564..ab5317276 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -107,9 +107,9 @@ function drupal_set_html_head($data = NULL) { function drupal_get_html_head() { global $base_url; - $output = ""; + $output = "\n"; $output .= "\n"; - $output .= "\n"; diff --git a/includes/theme.inc b/includes/theme.inc index 03d92d980..eb0b53ae6 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -151,9 +151,6 @@ function theme_page($content, $title = NULL, $breadcrumb = NULL) { $output .= ""; $output .= " ". (drupal_get_title() ? drupal_get_title() : variable_get('site_name', "drupal")) .""; $output .= drupal_get_html_head(); - $output .= " "; $output .= " "; $output .= " "; -- cgit v1.2.3