Skip to content
Permalink
Browse files

Revert "Fix QGIS server for PyQgsServerAccessControl"

This reverts commit 6e4dbc0.
  • Loading branch information
rldhont committed Oct 10, 2016
1 parent 20b93df commit 86d455ab83ea6d286087409efb042ffd6889049b
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/server/qgsserverprojectparser.cpp
@@ -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;
}

0 comments on commit 86d455a

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