Skip to content
Permalink
Browse files

Removes commented code

  • Loading branch information
pblottiere committed Sep 18, 2018
1 parent f1ea783 commit 07d400c66fcf125c3ff6086536fd42f4fc96b34e
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/server/services/wfs/qgswfsgetcapabilities.cpp
@@ -436,9 +436,6 @@ namespace QgsWfs
operationElement.appendChild( queryText );
operationsElement.appendChild( operationElement );

// QDomElement queryElement = doc.createElement( QStringLiteral( "Query" )/*wfs:Query*/ );
// operationsElement.appendChild( queryElement );

const QStringList wfsLayerIds = QgsServerProjectUtils::wfsLayerIds( *project );
const QStringList wfstUpdateLayersId = QgsServerProjectUtils::wfstUpdateLayerIds( *project );
const QStringList wfstInsertLayersId = QgsServerProjectUtils::wfstInsertLayerIds( *project );
@@ -528,8 +525,6 @@ namespace QgsWfs
//wfs:Operations element
QDomElement operationsElement = doc.createElement( QStringLiteral( "Operations" )/*wfs:Operations*/ );
//wfs:Query element
// QDomElement queryElement = doc.createElement( QStringLiteral( "Query" )/*wfs:Query*/ );
// operationsElement.appendChild( queryElement );
QDomElement operationElement = doc.createElement( QStringLiteral( "Operation" ) );
QDomText queryText = doc.createTextNode( QStringLiteral( "Query" ) );
operationElement.appendChild( queryText );

0 comments on commit 07d400c

Please sign in to comment.
You can’t perform that action at this time.