]> git.mxchange.org Git - friendica.git/commitdiff
Merge remote-tracking branch 'upstream/develop' into 1607-api-generic-xml
authorMichael Vogel <icarus@dabo.de>
Fri, 15 Jul 2016 14:15:20 +0000 (16:15 +0200)
committerMichael Vogel <icarus@dabo.de>
Fri, 15 Jul 2016 14:15:20 +0000 (16:15 +0200)
1  2 
include/api.php

diff --cc include/api.php
index 7a9d91f157c8836979fc0d2a932157fb6247180c,832240f716340b26bed12d96a74477c2e52ba2ab..c3d38e7dd231e742fc3037d926ca9334f2ec275e
                        case "atom":
                        case "rss":
                        case "xml":
 +                              //$ret = api_create_xml($data, $templatename);
 +                              //break;
 +
                                $data = array_xmlify($data);
                                if ($templatename==="<auto>") {
-                                       $ret = api_array_to_xml($data); 
+                                       $ret = api_array_to_xml($data);
                                } else {
                                        $tpl = get_markup_template("api_".$templatename."_".$type.".tpl");
                                        if(! $tpl) {