mirror of https://github.com/jellyfin/jellyfin.git
Mark CanSelfRestart as Obsolete
This commit is contained in:
parent
577d396649
commit
c59f2a3c46
|
@ -1038,7 +1038,6 @@ namespace Emby.Server.Implementations
|
|||
CachePath = ApplicationPaths.CachePath,
|
||||
OperatingSystem = MediaBrowser.Common.System.OperatingSystem.Id.ToString(),
|
||||
OperatingSystemDisplayName = MediaBrowser.Common.System.OperatingSystem.Name,
|
||||
CanSelfRestart = true,
|
||||
CanLaunchWebBrowser = CanLaunchWebBrowser,
|
||||
TranscodingTempPath = ConfigurationManager.GetTranscodePath(),
|
||||
ServerName = FriendlyName,
|
||||
|
|
|
@ -79,8 +79,9 @@ namespace MediaBrowser.Model.System
|
|||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance can self restart.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance can self restart; otherwise, <c>false</c>.</value>
|
||||
public bool CanSelfRestart { get; set; }
|
||||
/// <value><c>true</c>.</value>
|
||||
[Obsolete("This is always true")]
|
||||
public bool CanSelfRestart { get; set; } = true;
|
||||
|
||||
public bool CanLaunchWebBrowser { get; set; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue