]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Twitter-compatible API: /help/test was emmitting dupe elements. Fixed.
authorzach <zach@copley.name>
Mon, 21 Jul 2008 09:17:02 +0000 (05:17 -0400)
committerzach <zach@copley.name>
Mon, 21 Jul 2008 09:17:02 +0000 (05:17 -0400)
darcs-hash:20080721091702-ca946-e114030e33e4e1237006c7e64d8a0de8f8d9e7fc.gz

actions/twitapihelp.php

index 9701913f13d826cdc49c44357fc886c1afc7eb54..e07c9b6672ef8b4b80280557777294e9a59bdf63 100644 (file)
@@ -31,9 +31,7 @@ class TwitapihelpAction extends TwitterapiAction {
                global $xw;
                if ($apidata['content-type'] == 'xml') {
                        $this->init_document('xml');
-                       common_start_xml();
                        common_element('ok', NULL, 'true');
-                       common_end_xml();
                        $this->end_document('xml');
                } elseif ($apidata['content-type'] == 'json') {
                        $this->init_document('json');