The 404 section of a sync-report response should be a <response>

Hangover from old code.
This commit is contained in:
Andrew McMillan 2011-11-24 15:32:17 +13:00
parent 026c03d7a7
commit 3929c55c9d

View File

@ -109,7 +109,7 @@ EOSQL;
new XMLElement( 'href', ConstructURL($object->dav_name) ),
new XMLElement( 'status', display_status($object->sync_status) )
);
$responses[] = new XMLElement( 'sync-response', $resultset );
$responses[] = new XMLElement( 'response', $resultset );
$first_status = 404;
}
else if ( $object->sync_status == 201 && $first_status == 404 ) {