Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit e37cfa8

Browse files
committed
Don't need this stuff anymore
1 parent 4537b9b commit e37cfa8

File tree

5 files changed

+1
-30
lines changed

5 files changed

+1
-30
lines changed

src/GitHub.Api/Extensions/DateTimeExtensions.cs

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/GitHub.Api/GitHub.Api.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
<Compile Include="Cache\CacheInterfaces.cs" />
9898
<Compile Include="Cache\CachingClasses.cs" />
9999
<Compile Include="Extensions\ActionExtensions.cs" />
100-
<Compile Include="Extensions\DateTimeExtensions.cs" />
101100
<Compile Include="Extensions\ListExtensions.cs" />
102101
<Compile Include="Git\Tasks\GitCheckoutTask.cs" />
103102
<Compile Include="Git\GitAheadBehindStatus.cs" />

src/GitHub.Api/Helpers/Constants.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ static class Constants
1717
@"yyyy-MM-dd\THH\:mm\:sszzz"
1818
};
1919
public const string SkipVersionKey = "SkipVersion";
20-
public const string UpdateReminderDateKey = "UpdateReminderDate";
2120

2221
public static readonly Version MinimumGitVersion = new Version(2, 11, 0);
2322
public static readonly Version MinimumGitLfsVersion = new Version(2, 4, 0);

src/GitHub.Api/Platform/Settings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public override string Get(string key, string fallback = "")
7474
if (typeof(T) == typeof(DateTimeOffset))
7575
{
7676
DateTimeOffset dt;
77-
if (DateTimeOffset.TryParseExact(value?.ToString(), Constants.Iso8601Format,
77+
if (DateTimeOffset.TryParseExact(value?.ToString(), Constants.Iso8601Formats,
7878
CultureInfo.InvariantCulture, DateTimeStyles.None, out dt))
7979
{
8080
value = dt;

src/UnityExtension/Assets/Editor/GitHub.Unity/UpdateCheck.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ public class UpdateCheckWindow : EditorWindow
6060

6161
public static void CheckForUpdates()
6262
{
63-
var savedReminderDate = EntryPoint.ApplicationManager.UserSettings.Get<string>(Constants.UpdateReminderDateKey);
64-
if (savedReminderDate.ToDateTimeOffset().Date > DateTimeOffset.Now.Date)
65-
return;
66-
6763
var download = new DownloadTask(TaskManager.Instance.Token, EntryPoint.Environment.FileSystem, UpdateFeedUrl, EntryPoint.Environment.UserCachePath);
6864
download.OnEnd += (thisTask, result, success, exception) =>
6965
{

0 commit comments

Comments
 (0)