From bdd15cfe6340df9fd387e817352bea5f16655d0a Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 4 Jun 2015 00:56:46 +0200 Subject: [PATCH] don't double the output for some PublicAction->extraHead --- actions/public.php | 13 ------------- lib/sitestreamaction.php | 3 --- 2 files changed, 16 deletions(-) diff --git a/actions/public.php b/actions/public.php index 7cae3cfd15..175e0f1e70 100644 --- a/actions/public.php +++ b/actions/public.php @@ -74,19 +74,6 @@ class PublicAction extends SitestreamAction parent::extraHead(); $this->element('meta', array('http-equiv' => 'X-XRDS-Location', 'content' => common_local_url('publicxrds'))); - - $rsd = common_local_url('rsd'); - - // RSD, http://tales.phrasewise.com/rfc/rsd - - $this->element('link', array('rel' => 'EditURI', - 'type' => 'application/rsd+xml', - 'href' => $rsd)); - - if ($this->page != 1) { - $this->element('link', array('rel' => 'canonical', - 'href' => common_local_url('public'))); - } } function showSections() diff --git a/lib/sitestreamaction.php b/lib/sitestreamaction.php index aa1c2e1b0a..d462c499a5 100644 --- a/lib/sitestreamaction.php +++ b/lib/sitestreamaction.php @@ -72,9 +72,6 @@ class SitestreamAction extends ManagedAction function extraHead() { parent::extraHead(); - $this->element('meta', array('http-equiv' => 'X-XRDS-Location', - 'content' => common_local_url('publicxrds'))); - $rsd = common_local_url('rsd'); // RSD, http://tales.phrasewise.com/rfc/rsd -- 2.39.5