diff --git a/src/server/qgscapabilitiescache.cpp b/src/server/qgscapabilitiescache.cpp index bd49b0dec72..a22c1697347 100644 --- a/src/server/qgscapabilitiescache.cpp +++ b/src/server/qgscapabilitiescache.cpp @@ -63,8 +63,8 @@ void QgsCapabilitiesCache::insertCapabilitiesDocument( const QString& configFile void QgsCapabilitiesCache::removeCapabilitiesDocument( const QString& path ) { - mCachedCapabilities.remove( path ); - mFileSystemWatcher.removePath( path ); + mCachedCapabilities.remove( path ); + mFileSystemWatcher.removePath( path ); } void QgsCapabilitiesCache::removeChangedEntry( const QString& path ) diff --git a/src/server/qgsserverinterfaceimpl.cpp b/src/server/qgsserverinterfaceimpl.cpp index 47a04d76b41..0da0ee12bdb 100644 --- a/src/server/qgsserverinterfaceimpl.cpp +++ b/src/server/qgsserverinterfaceimpl.cpp @@ -77,7 +77,7 @@ void QgsServerInterfaceImpl::registerAccessControl( QgsAccessControlFilter* acce void QgsServerInterfaceImpl::removeConfigCacheEntry( const QString& path ) { - if( mCapabilitiesCache ) + if ( mCapabilitiesCache ) { mCapabilitiesCache->removeCapabilitiesDocument( path ); }