disable user data sync by default

This commit is contained in:
Luke Pulverenti 2016-10-01 15:54:33 -04:00
parent c86bd9026d
commit 6cc1f11a69

View File

@ -148,12 +148,6 @@ namespace MediaBrowser.Api
{ {
var user = _userManager.Users.First(); var user = _userManager.Users.First();
// TODO: This should be handled internally by xbmc metadata
const string metadataKey = "xbmcmetadata";
var metadata = _config.GetConfiguration<XbmcMetadataOptions>(metadataKey);
metadata.UserId = user.Id.ToString("N");
_config.SaveConfiguration(metadataKey, metadata);
user.Name = request.Name; user.Name = request.Name;
await _userManager.UpdateUser(user).ConfigureAwait(false); await _userManager.UpdateUser(user).ConfigureAwait(false);