Merge pull request #1339 from MediaBrowser/master

fix file deletion
pull/702/head
Luke 9 years ago
commit 5065acc821

@ -331,6 +331,9 @@ namespace MediaBrowser.Server.Implementations.Sync
await provider.DeleteFile(file, target, cancellationToken).ConfigureAwait(false); await provider.DeleteFile(file, target, cancellationToken).ConfigureAwait(false);
} }
_logger.Debug("Removing {0} from {1}.", localItem.FileId, target.Name);
await provider.DeleteFile(localItem.FileId, target, cancellationToken).ConfigureAwait(false);
await dataProvider.Delete(target, localItem.Id).ConfigureAwait(false); await dataProvider.Delete(target, localItem.Id).ConfigureAwait(false);
} }
} }

Loading…
Cancel
Save