Skip to content

Commit

Permalink
Removed redundant check for old style config
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-tomcummins-roweit authored and nyalldawson committed Oct 22, 2021
1 parent 033bcd1 commit 5c3b136
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/auth/apiheader/core/qgsauthapiheadermethod.cpp
Expand Up @@ -105,12 +105,8 @@ void QgsAuthApiHeaderMethod::clearCachedConfig( const QString &authcfg )

void QgsAuthApiHeaderMethod::updateMethodConfig( QgsAuthMethodConfig &mconfig )
{
if ( mconfig.hasConfig( QStringLiteral( "oldconfigstyle" ) ) )
{
QgsDebugMsg( QStringLiteral( "Updating old style auth method config" ) );
}

// NOTE: add updates as method version() increases due to config storage changes
Q_UNUSED( mconfig );
// NOTE: add updates as method version() increases due to config storage changes
}

QgsAuthMethodConfig QgsAuthApiHeaderMethod::getMethodConfig( const QString &authcfg, bool fullconfig )
Expand Down

0 comments on commit 5c3b136

Please sign in to comment.