mirror of
https://github.com/Dvorinka/PPve.git
synced 2026-06-05 04:52:58 +00:00
ef
This commit is contained in:
@@ -226,9 +226,6 @@ func trackVisit(w http.ResponseWriter, r *http.Request) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save updated stats
|
|
||||||
}
|
|
||||||
|
|
||||||
// Reset weekly visits on Monday
|
// Reset weekly visits on Monday
|
||||||
if time.Now().Weekday() == time.Monday && stats.LastUpdated.Weekday() != time.Monday {
|
if time.Now().Weekday() == time.Monday && stats.LastUpdated.Weekday() != time.Monday {
|
||||||
stats.WeeklyVisits = 1
|
stats.WeeklyVisits = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user