Skip to content
Permalink
Browse files
Remove InsertResults
  • Loading branch information
rldhont committed Nov 30, 2012
1 parent 85faeb3 commit aab08cb72284b16cfc55e1973648bc6e375140f3
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/mapserver/qgswfsserver.cpp
@@ -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

0 comments on commit aab08cb

Please sign in to comment.