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 7d334c7.
  • Loading branch information
rldhont committed Oct 10, 2016
1 parent 139d140 commit ff86ecd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/server/qgsserverprojectparser.cpp
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 ff86ecd

Please sign in to comment.