diff options
| author | crobibero <cody@robibe.ro> | 2020-11-11 08:08:06 -0700 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-11-11 08:08:06 -0700 |
| commit | 7ff212576e1fba5980163bcc1cd97c29aadc635f (patch) | |
| tree | 73b548bfedf984b83b2d8dc1f9b5406b1a9620de /Emby.Server.Implementations/Data/SqliteUserDataRepository.cs | |
| parent | 380359b495f234450b21eafd2e64fa84b1bf2dcb (diff) | |
| parent | 5669d1dad23153401d1e648faa9b62b1d0e81838 (diff) | |
Merge remote-tracking branch 'upstream/master' into bye-tvdb
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteUserDataRepository.cs')
| -rw-r--r-- | Emby.Server.Implementations/Data/SqliteUserDataRepository.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs b/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs index 4a78aac8e..2c4e8e0fc 100644 --- a/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs +++ b/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs @@ -44,7 +44,8 @@ namespace Emby.Server.Implementations.Data var users = userDatasTableExists ? null : userManager.Users; - connection.RunInTransaction(db => + connection.RunInTransaction( + db => { db.ExecuteAll(string.Join(";", new[] { @@ -178,7 +179,8 @@ namespace Emby.Server.Implementations.Data using (var connection = GetConnection()) { - connection.RunInTransaction(db => + connection.RunInTransaction( + db => { SaveUserData(db, internalUserId, key, userData); }, TransactionMode); @@ -246,7 +248,8 @@ namespace Emby.Server.Implementations.Data using (var connection = GetConnection()) { - connection.RunInTransaction(db => + connection.RunInTransaction( + db => { foreach (var userItemData in userDataList) { |
