Just enable instead

pull/4275/head
Anthony Lavado 4 years ago
parent 375f849b3e
commit 959d906c85
No known key found for this signature in database
GPG Key ID: 5E2EBB4CDBCACB40

@ -41,17 +41,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
/// Creates the triggers that define when the task will run. /// Creates the triggers that define when the task will run.
/// </summary> /// </summary>
/// <returns>IEnumerable{BaseTaskTrigger}.</returns> /// <returns>IEnumerable{BaseTaskTrigger}.</returns>
public IEnumerable<TaskTriggerInfo> GetDefaultTriggers() public IEnumerable<TaskTriggerInfo> GetDefaultTriggers() => new List<TaskTriggerInfo>();
{
return new[]
{
new TaskTriggerInfo
{
Type = TaskTriggerInfo.TriggerDaily,
TimeOfDayTicks = 0
}
};
}
/// <summary> /// <summary>
/// Returns the task to be executed. /// Returns the task to be executed.
@ -158,7 +148,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
public bool IsHidden => false; public bool IsHidden => false;
/// <inheritdoc /> /// <inheritdoc />
public bool IsEnabled => false; public bool IsEnabled => true;
/// <inheritdoc /> /// <inheritdoc />
public bool IsLogged => true; public bool IsLogged => true;

Loading…
Cancel
Save