mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Keep composition in GetCapabilities to keep compatibility with older versions
This commit is contained in:
parent
2dd6e542a5
commit
eae008ebf8
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user