don't double the output for some PublicAction->extraHead

This commit is contained in:
Mikael Nordfeldth 2015-06-04 00:56:46 +02:00
parent 26631bf9e6
commit bdd15cfe63
2 changed files with 0 additions and 16 deletions

View File

@ -74,19 +74,6 @@ class PublicAction extends SitestreamAction
parent::extraHead(); parent::extraHead();
$this->element('meta', array('http-equiv' => 'X-XRDS-Location', $this->element('meta', array('http-equiv' => 'X-XRDS-Location',
'content' => common_local_url('publicxrds'))); '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() function showSections()

View File

@ -72,9 +72,6 @@ class SitestreamAction extends ManagedAction
function extraHead() function extraHead()
{ {
parent::extraHead(); parent::extraHead();
$this->element('meta', array('http-equiv' => 'X-XRDS-Location',
'content' => common_local_url('publicxrds')));
$rsd = common_local_url('rsd'); $rsd = common_local_url('rsd');
// RSD, http://tales.phrasewise.com/rfc/rsd // RSD, http://tales.phrasewise.com/rfc/rsd