diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-06-20 10:44:28 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-06-20 10:44:28 +0000 |
| commit | 772c70240c6c1edf92f2b49d9546dba2c5a22acf (patch) | |
| tree | bd7fbf86d31274658fe1fe1ad93cb978a2976c12 /includes/functions/functions_print.php | |
| parent | cb3342d3cd3c560a5c3eab68c0eedd9ecd3e3759 (diff) | |
| download | webtrees-772c70240c6c1edf92f2b49d9546dba2c5a22acf.tar.gz webtrees-772c70240c6c1edf92f2b49d9546dba2c5a22acf.tar.bz2 webtrees-772c70240c6c1edf92f2b49d9546dba2c5a22acf.zip | |
Remove RSS functions. They don't work very well (if at all). If we want RSS feeds, we need a better requirements specification.
Diffstat (limited to 'includes/functions/functions_print.php')
| -rw-r--r-- | includes/functions/functions_print.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php index 7418327a30..c8bd5065ee 100644 --- a/includes/functions/functions_print.php +++ b/includes/functions/functions_print.php @@ -415,7 +415,7 @@ function print_header($title, $head="", $use_alternate_styles=true) { global $WT_IMAGE_DIR, $GEDCOM, $GEDCOM_TITLE, $COMMON_NAMES_THRESHOLD; global $QUERY_STRING, $action, $query, $theme_name; global $FAVICON, $stylesheet, $print_stylesheet, $rtl_stylesheet, $headerfile, $toplinks, $THEME_DIR, $print_headerfile; - global $WT_IMAGES, $TEXT_DIRECTION, $ONLOADFUNCTION, $REQUIRE_AUTHENTICATION, $ENABLE_RSS, $RSS_FORMAT; + global $WT_IMAGES, $TEXT_DIRECTION, $ONLOADFUNCTION, $REQUIRE_AUTHENTICATION; global $META_DESCRIPTION, $META_ROBOTS, $META_TITLE; // TODO: Shouldn't this be in session.php? @@ -451,12 +451,6 @@ function print_header($title, $head="", $use_alternate_styles=true) { } else { $GEDCOM_TITLE = get_gedcom_setting(WT_GED_ID, 'title'); } - if ($ENABLE_RSS){ - $applicationType = "application/rss+xml"; - if ($RSS_FORMAT == "ATOM" || $RSS_FORMAT == "ATOM0.3"){ - $applicationType = "application/atom+xml"; - } - } $javascript = ''; $query_string = $QUERY_STRING; if ($view!='preview' && $view!='simple') { |
