]> git.mxchange.org Git - friendica.git/blobdiff - mod/rsd_xml.php
Bump DB version
[friendica.git] / mod / rsd_xml.php
index 6f9c209fab5915e8f0f8c4e9dd0786f68f4dd0f3..3b74a143df7d9b32394b81f92d73ce4b2f1ebf85 100644 (file)
@@ -1,7 +1,8 @@
 <?php
 
-if(! function_exists('rsd_xml_content')) {
-function rsd_xml_content(&$a) {
+
+
+function rsd_xml_content(App $a) {
        header ("Content-Type: text/xml");
        echo '<?xml version="1.0" encoding="UTF-8"?>
  <rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
@@ -9,7 +10,7 @@ function rsd_xml_content(&$a) {
      <engineName>Friendica</engineName>
      <engineLink>http://friendica.com/</engineLink>
      <apis>
-       <api name="Twitter" preferred="true" apiLink="'.$a->get_baseurl().'/api/" blogID="">
+       <api name="Twitter" preferred="true" apiLink="'.App::get_baseurl().'/api/" blogID="">
          <settings>
            <docs>http://status.net/wiki/TwitterCompatibleAPI</docs>
            <setting name="OAuth">false</setting>
@@ -20,5 +21,4 @@ function rsd_xml_content(&$a) {
  </rsd>
        ';
 die();
-}
-}
+}
\ No newline at end of file