Skip to content

Commit

Permalink
Keep composition in GetCapabilities to keep compatibility with older …
Browse files Browse the repository at this point in the history
…versions
  • Loading branch information
Marco Hugentobler committed Oct 8, 2012
1 parent 2dd6e54 commit eae008e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapserver/qgswmsserver.cpp
Expand Up @@ -205,7 +205,7 @@ QDomDocument QgsWMSServer::getCapabilities( QString version, bool fullProjectInf
appendFormats( doc, elem, QStringList() << ( version == "1.1.1" ? "application/vnd.ogc.se_xml" : "text/xml" ) );
capabilityElement.appendChild( elem );

if ( mConfigParser && fullProjectInformation )
if ( mConfigParser /*&& fullProjectInformation*/ ) //remove composer templates from GetCapabilities in the long term
{
//Insert <ComposerTemplate> elements derived from wms:_ExtendedCapabilities
mConfigParser->printCapabilities( capabilityElement, doc );
Expand Down

0 comments on commit eae008e

Please sign in to comment.