]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't double the output for some PublicAction->extraHead
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 3 Jun 2015 22:56:46 +0000 (00:56 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 3 Jun 2015 22:56:46 +0000 (00:56 +0200)
actions/public.php
lib/sitestreamaction.php

index 7cae3cfd1513afdad9ccd0973d05de2ffbd15f41..175e0f1e70c416bb12fe4c00a47b631afc07cb66 100644 (file)
@@ -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()
index aa1c2e1b0a3570edecd4488683757442b1a31887..d462c499a5f34bb8780d38e3eccb16ea710b715f 100644 (file)
@@ -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