public void DeleteExpiredSessions() { if (NetworkSettings.Offline) { return; } DeleteExpiredSessions(RecentSearchLifeSpan, PathFormatter.GetSessionDirectory("all")); DeleteExpiredSessions(QuerySearchLifeSpan, PathFormatter.GetSessionDirectory("search")); DeleteExpiredSessions(TaggedSearchLifeSpan, PathFormatter.GetSessionDirectory("tagged")); }
public void DeleteExpiredSessions() { DeleteExpiredSessions(RecentSearchLifeSpan, PathFormatter.GetSessionDirectory("all")); DeleteExpiredSessions(QuerySearchLifeSpan, PathFormatter.GetSessionDirectory("search")); DeleteExpiredSessions(TaggedSearchLifeSpan, PathFormatter.GetSessionDirectory("tagged")); }