From 979e194b939b4cbc8819c0f956f68c2a7f6de11a Mon Sep 17 00:00:00 2001 From: rldhont Date: Tue, 28 Jun 2016 18:32:34 +0200 Subject: [PATCH] Server code cleanage --- src/server/qgscapabilitiescache.cpp | 4 ++-- src/server/qgsserverinterfaceimpl.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 ); }