aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2021-03-06 20:02:42 -0500
committerPatrick Barron <barronpm@gmail.com>2021-03-06 20:02:42 -0500
commit7b37ae94f7773069b1406728e297a012e3f726cc (patch)
treedfa4d8b768d14947d694e03359777518d696d7b3
parentf638ee6b0918c2ef05ec11cfa43584d3efad68d1 (diff)
Remove unused factory method
-rw-r--r--Jellyfin.Data/Entities/AccessSchedule.cs13
1 files changed, 0 insertions, 13 deletions
diff --git a/Jellyfin.Data/Entities/AccessSchedule.cs b/Jellyfin.Data/Entities/AccessSchedule.cs
index 9ac0666ac..7974d3add 100644
--- a/Jellyfin.Data/Entities/AccessSchedule.cs
+++ b/Jellyfin.Data/Entities/AccessSchedule.cs
@@ -58,18 +58,5 @@ namespace Jellyfin.Data.Entities
/// </summary>
/// <value>The end hour.</value>
public double EndHour { get; set; }
-
- /// <summary>
- /// Static create function (for use in LINQ queries, etc.)
- /// </summary>
- /// <param name="dayOfWeek">The day of the week.</param>
- /// <param name="startHour">The start hour.</param>
- /// <param name="endHour">The end hour.</param>
- /// <param name="userId">The associated user's id.</param>
- /// <returns>The newly created instance.</returns>
- public static AccessSchedule Create(DynamicDayOfWeek dayOfWeek, double startHour, double endHour, Guid userId)
- {
- return new AccessSchedule(dayOfWeek, startHour, endHour, userId);
- }
}
}