summaryrefslogtreecommitdiff
path: root/actions/twitapihelp.php
diff options
context:
space:
mode:
authorzach <zach@copley.name>2008-07-21 05:17:02 -0400
committerzach <zach@copley.name>2008-07-21 05:17:02 -0400
commit5e92efe85f91effdb42a3aa64f9c699f32035005 (patch)
tree44c62cd740671abdc1e0fac2c0d06ba1d7b87d0c /actions/twitapihelp.php
parent05fe4f6a2fa7b4e24d09a6a3e1794b6c321bf879 (diff)
Twitter-compatible API: /help/test was emmitting dupe elements. Fixed.
darcs-hash:20080721091702-ca946-e114030e33e4e1237006c7e64d8a0de8f8d9e7fc.gz
Diffstat (limited to 'actions/twitapihelp.php')
-rw-r--r--actions/twitapihelp.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/actions/twitapihelp.php b/actions/twitapihelp.php
index 9701913f1..e07c9b667 100644
--- a/actions/twitapihelp.php
+++ b/actions/twitapihelp.php
@@ -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');