]> git.mxchange.org Git - friendica.git/blobdiff - mod/poco.php
move all commands inside the duepuntozero_init() function
[friendica.git] / mod / poco.php
index cb9abb340ddb06fe071e32f06fc9de4cb85f4e68..624a48d9ff1768b4654e59a63d44b20076f8a7b3 100644 (file)
@@ -148,7 +148,7 @@ function poco_init(&$a) {
        if($format === 'xml') {
                header('Content-type: text/xml');
                echo replace_macros(get_markup_template('poco_xml.tpl'),array_xmlify(array('$response' => $ret)));
-               http_status_exit(500);
+               killme();
        }
        if($format === 'json') {
                header('Content-type: application/json');
@@ -159,4 +159,4 @@ function poco_init(&$a) {
                http_status_exit(500);
 
 
-}
\ No newline at end of file
+}