Code Duplication    Length = 4-4 lines in 2 locations

includes/services/wsl.authentication.php 2 locations

@@ 907-910 (lines=4) @@
904
	$config["providers"][$provider]["keys"] = array( 'id' => null, 'key' => null, 'secret' => null );
905
906
	// provider application id ?
907
	if( get_option( 'wsl_settings_' . $provider . '_app_id' ) )
908
	{
909
		$config["providers"][$provider]["keys"]["id"] = get_option( 'wsl_settings_' . $provider . '_app_id' );
910
	}
911
912
	// provider application key ?
913
	if( get_option( 'wsl_settings_' . $provider . '_app_key' ) )
@@ 913-916 (lines=4) @@
910
	}
911
912
	// provider application key ?
913
	if( get_option( 'wsl_settings_' . $provider . '_app_key' ) )
914
	{
915
		$config["providers"][$provider]["keys"]["key"] = get_option( 'wsl_settings_' . $provider . '_app_key' );
916
	}
917
918
	// provider application secret ?
919
	if( get_option( 'wsl_settings_' . $provider . '_app_secret' ) )