Skip to content
Permalink
Browse files

Keep composition in GetCapabilities to keep compatibility with older …

…versions
  • Loading branch information
Marco Hugentobler
Marco Hugentobler committed Oct 8, 2012
1 parent 2dd6e54 commit eae008ebf8c8f8c4abd1261e1b1c10f68394f427
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mapserver/qgswmsserver.cpp
@@ -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 );

0 comments on commit eae008e

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