update extensions

This commit is contained in:
Luke Pulverenti
2016-11-20 02:10:07 -05:00
parent a385ab5142
commit 7f62a99ab5
8 changed files with 172 additions and 85 deletions

View File

@@ -91,8 +91,8 @@ namespace Emby.Server.Implementations.Data
{
using (var statement = db.PrepareStatement("replace into users (guid, data) values (@guid, @data)"))
{
statement.BindParameters.TryBind("@guid", user.Id.ToGuidParamValue());
statement.BindParameters.TryBind("@data", serialized);
statement.TryBind("@guid", user.Id.ToGuidParamValue());
statement.TryBind("@data", serialized);
statement.MoveNext();
}
});
@@ -154,7 +154,7 @@ namespace Emby.Server.Implementations.Data
{
using (var statement = db.PrepareStatement("delete from users where guid=@id"))
{
statement.BindParameters.TryBind("@id", user.Id.ToGuidParamValue());
statement.TryBind("@id", user.Id.ToGuidParamValue());
statement.MoveNext();
}
});