don't double the output for some PublicAction->extraHead
This commit is contained in:
parent
26631bf9e6
commit
bdd15cfe63
@ -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()
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user