Skip to content

Commit

Permalink
Remove InsertResults
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Nov 30, 2012
1 parent 85faeb3 commit aab08cb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mapserver/qgswfsserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1469,16 +1469,14 @@ QDomDocument QgsWFSServer::transaction( const QString& requestBody )
// Put the Feature Ids of the inserted feature
if ( insertResults.size() > 0 )
{
QDomElement irsElem = doc.createElement( "InsertResults" );
foreach (const QString &fidStr, insertResults)
{
QDomElement irElem = doc.createElement( "InsertResult" );
QDomElement fiElem = doc.createElement( "ogc:FeatureId" );
fiElem.setAttribute( "fid", fidStr );
irElem.appendChild( fiElem );
irsElem.appendChild( irElem );
respElem.appendChild( irElem );
}
respElem.appendChild( irsElem );
}

// Set the transaction reposne for success
Expand Down

0 comments on commit aab08cb

Please sign in to comment.