Skip to content

Commit

Permalink
Revert "Fix QGIS server for PyQgsServerAccessControl"
Browse files Browse the repository at this point in the history
This reverts commit f42b554.
  • Loading branch information
rldhont committed Oct 10, 2016
1 parent 1e9124d commit 80f4ed7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/server/qgsserverprojectparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,7 @@ QgsMapLayer* QgsServerProjectParser::createLayerFromElement( const QDomElement&
{
addValueRelationLayersForLayer( dynamic_cast<QgsVectorLayer *>( layer ) );
// Reload joins and expression fields
QgsVectorLayer* vlayer = dynamic_cast<QgsVectorLayer *>( layer );
QString subsetString = vlayer->subsetString();
layer->readLayerXML( const_cast<QDomElement&>( elem ) );
vlayer->setSubsetString( subsetString );
}
return layer;
}
Expand Down

0 comments on commit 80f4ed7

Please sign in to comment.