remove old sync helper for removing ciphers (was for inc syncing)

This commit is contained in:
Kyle Spearrin 2017-02-08 20:45:56 -05:00
parent 0cd09cf03a
commit 2d605f5dfb

View file

@ -294,22 +294,6 @@ namespace Bit.App.Services
} }
} }
private async Task DeleteCiphersAsync(IEnumerable<string> cipherIds)
{
var tasks = new List<Task>();
foreach(var cipherId in cipherIds)
{
if(!_authService.IsAuthenticated)
{
return;
}
tasks.Add(_loginRepository.DeleteAsync(cipherId));
tasks.Add(_folderRepository.DeleteAsync(cipherId));
}
await Task.WhenAll(tasks).ConfigureAwait(false);
}
private void SyncStarted() private void SyncStarted()
{ {
if(Application.Current == null) if(Application.Current == null)