Skip to content

Commit

Permalink
Server code cleanage
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Jun 28, 2016
1 parent d3eb164 commit 979e194
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/server/qgscapabilitiescache.cpp
Expand Up @@ -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 )
Expand Down
2 changes: 1 addition & 1 deletion src/server/qgsserverinterfaceimpl.cpp
Expand Up @@ -77,7 +77,7 @@ void QgsServerInterfaceImpl::registerAccessControl( QgsAccessControlFilter* acce

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

0 comments on commit 979e194

Please sign in to comment.