From 66424f46fd3e0623b3dcb9ffd4c68c38bce27b22 Mon Sep 17 00:00:00 2001 From: sergiotarxz Date: Sun, 24 Sep 2023 13:42:05 +0200 Subject: [PATCH] Removing new metrics, bad for bussiness --- lib/BurguillosInfo/Tracking.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/BurguillosInfo/Tracking.pm b/lib/BurguillosInfo/Tracking.pm index 6a8eefd..9e002c9 100644 --- a/lib/BurguillosInfo/Tracking.pm +++ b/lib/BurguillosInfo/Tracking.pm @@ -139,15 +139,15 @@ sub get_global_data { SELECT ( $SELECT_GLOBAL - where path !~ '\\.\\w*\$' and date > NOW() - interval '1 day' + where date > NOW() - interval '1 day' ) as unique_ips_last_24_hours, ( $SELECT_GLOBAL - where path !~ '\\.\\w*\$' and date > NOW() - interval '1 week' + where date > NOW() - interval '1 week' ) as unique_ips_last_week, ( $SELECT_GLOBAL - where path !~ '\\.\\w*\$' and date > NOW() - interval '1 month' + where date > NOW() - interval '1 month' ) as unique_ips_last_month; EOF return $data;