Skip to content
Snippets Groups Projects
Commit e1c7c995 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

same day check

parent bfab1206
Branches
No related tags found
1 merge request!1981Resolve "Use Influxdb"
......@@ -63,7 +63,7 @@ class AdminInterface extends Controller
$connection->disconnect();
}
// No Cache for today
if (!now()->isSameDay($date)) {
if ($date->isToday()) {
Cache::put($cache_key, $total_count, now()->addWeek());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment