Skip to content
Permalink
Browse files

Server code cleanage

  • Loading branch information
rldhont committed Jun 28, 2016
1 parent d3eb164 commit 979e194b939b4cbc8819c0f956f68c2a7f6de11a
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/server/qgscapabilitiescache.cpp
  2. +1 −1 src/server/qgsserverinterfaceimpl.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 )
@@ -77,7 +77,7 @@ void QgsServerInterfaceImpl::registerAccessControl( QgsAccessControlFilter* acce

void QgsServerInterfaceImpl::removeConfigCacheEntry( const QString& path )
{
if( mCapabilitiesCache )
if ( mCapabilitiesCache )
{
mCapabilitiesCache->removeCapabilitiesDocument( path );
}

0 comments on commit 979e194

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