aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-10-14 14:04:13 +0200
committerGitHub <noreply@github.com>2020-10-14 14:04:13 +0200
commitd54de29485cc622a64c17884b39c9bc65e33af29 (patch)
tree518c7ff96d83637f11c4a6052379c4f8014ef5bb /Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
parent8b419d9ea6e609781c676c769fc85a4bd2cd4bb4 (diff)
parentec91d3893d6f1aee7f75dabae3d2311f7592440b (diff)
Merge pull request #4315 from Jan-PieterBaert/fix-warnings
Fix some warnings
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteUserDataRepository.cs')
-rw-r--r--Emby.Server.Implementations/Data/SqliteUserDataRepository.cs9
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)
{