Remove some whitespace

This commit is contained in:
Tom Needham 2013-01-24 10:40:47 +00:00
parent 02f8c941f4
commit d89be72972
1 changed files with 0 additions and 4 deletions

View File

@ -188,7 +188,6 @@ class OC_API {
}
private static function toXML($array, $writer) {
foreach($array as $k => $v) {
if (substr($k, 0, 1) === '@') {
$writer->writeAttribute(substr($k, 1), $v);
@ -196,7 +195,6 @@ class OC_API {
} else if (is_numeric($k)) {
$k = 'element';
}
if(is_array($v)) {
$writer->startElement($k);
self::toXML($v, $writer);
@ -204,9 +202,7 @@ class OC_API {
} else {
$writer->writeElement($k, $v);
}
}
}
}