summaryrefslogtreecommitdiff
path: root/_darcs/pristine
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-30 16:22:02 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-30 16:22:02 -0500
commitd57c06b4171fbed9f059c53d66f6b313d9303d6d (patch)
treee811408e7eb16567c3841107a796be4323fcb04c /_darcs/pristine
parent76d91a358bc072274953c2aaf8a768c331ac2a71 (diff)
wrapper element for config.xml
darcs-hash:20081230212202-84dde-d6439ad7061a56c9de0168ced3d95436ca20cb59.gz
Diffstat (limited to '_darcs/pristine')
-rw-r--r--_darcs/pristine/actions/twitapilaconica.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/_darcs/pristine/actions/twitapilaconica.php b/_darcs/pristine/actions/twitapilaconica.php
index 17b7b0872..722423fae 100644
--- a/_darcs/pristine/actions/twitapilaconica.php
+++ b/_darcs/pristine/actions/twitapilaconica.php
@@ -115,6 +115,7 @@ class TwitapilaconicaAction extends TwitterapiAction
switch ($apidata['content-type']) {
case 'xml':
$this->init_document('xml');
+ common_element_start('config');
// XXX: check that all sections and settings are legal XML elements
foreach ($keys as $section => $settings) {
common_element_start($section);
@@ -131,6 +132,7 @@ class TwitapilaconicaAction extends TwitterapiAction
}
common_element_end($section);
}
+ common_element_end('config');
$this->end_document('xml');
break;
case 'json':