]> git.mxchange.org Git - friendica.git/blobdiff - mod/hostxrd.php
Merge pull request #2905 from annando/1611-performance-again
[friendica.git] / mod / hostxrd.php
index 5b178e9b8f668be56980435db6d75a3dc78592eb..647073b056e3774b1431ab98208ac5c486283275 100644 (file)
@@ -2,7 +2,6 @@
 
 require_once('include/crypto.php');
 
-if(! function_exists('hostxrd_init')) {
 function hostxrd_init(&$a) {
        header('Access-Control-Allow-Origin: *');
        header("Content-type: text/xml");
@@ -26,7 +25,6 @@ function hostxrd_init(&$a) {
                '$zot_post' => z_root() . '/post',
                '$bigkey' => salmon_key(get_config('system','site_pubkey')),
        ));
-       session_write_close();
        exit();
-}
+
 }