]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Using startXML() instead of deprecated common_start_xml()
authorSarven Capadisli <csarven@plantard.controlezvous.ca>
Sun, 1 Feb 2009 23:43:07 +0000 (23:43 +0000)
committerSarven Capadisli <csarven@plantard.controlezvous.ca>
Sun, 1 Feb 2009 23:43:07 +0000 (23:43 +0000)
actions/opensearch.php

index 7709249bb195150e29945f5c9c6354df396b68e0..2eb8183066b062dc9111d890eeb6936656373aab 100644 (file)
@@ -67,7 +67,7 @@ class OpensearchAction extends Action
             $short_name = _('Notice Search');
         }
         header('Content-Type: text/html');
-        common_start_xml();
+        $this->startXML();
         $this->elementStart('OpenSearchDescription', array('xmlns' => 'http://a9.com/-/spec/opensearch/1.1/'));
         $short_name =  common_config('site', 'name').' '.$short_name;
         $this->element('ShortName', null, $short_name);
@@ -81,7 +81,7 @@ class OpensearchAction extends Action
         $this->element('OutputEncoding', null, 'UTF-8');
         $this->element('InputEncoding', null, 'UTF-8');
         $this->elementEnd('OpenSearchDescription');
-        common_end_xml();
+        $this->endXML();
     }
 
     function isReadOnly()