From f28c1ce3988056804d07ac071158c6959755ca1d Mon Sep 17 00:00:00 2001 From: johnnyq Date: Mon, 24 Feb 2025 17:03:29 -0500 Subject: [PATCH] In-App alerts are spawned 1,7 and 45 days instead of 1,7,14,30 and 90 --- admin_settings_notification.php | 6 +++--- scripts/cron.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/admin_settings_notification.php b/admin_settings_notification.php index 1abc0982..05f326f8 100644 --- a/admin_settings_notification.php +++ b/admin_settings_notification.php @@ -37,7 +37,7 @@ require_once "includes/inc_all_admin.php";
Domain Expiration Notice
- (This setting triggers a notification when a domain is approaching its expiration date, specifically at 1, 7, 14, 30 and 90 days prior to expiry.) + (This setting triggers a notification when a domain is approaching its expiration date, specifically at 1, 7 and 45 days prior to expiry.) @@ -54,7 +54,7 @@ require_once "includes/inc_all_admin.php";
Certificate Expiration Notice
- (This setting triggers a notification when a certificate is approaching its expiration date, specifically at 1, 7, 14, 30 and 90 days prior to expiry.) + (This setting triggers a notification when a certificate is approaching its expiration date, specifically at 1, 7 and 45 days prior to expiry.) @@ -67,7 +67,7 @@ require_once "includes/inc_all_admin.php";
Asset Warranty Expiration Notice
- (This setting triggers a notification when an asset is approaching its expiration date, specifically at 1, 7, 14, 30 and 90 days prior to expiry.) + (This setting triggers a notification when an asset is approaching its expiration date, specifically at 1, 7 and 45 days prior to expiry.) diff --git a/scripts/cron.php b/scripts/cron.php index 540496b1..160dc895 100644 --- a/scripts/cron.php +++ b/scripts/cron.php @@ -179,7 +179,7 @@ if ($config_whitelabel_enabled && !validateWhitelabelKey($config_whitelabel_key) if ($config_enable_alert_domain_expire == 1) { - $domainAlertArray = [1,7,14,30,90]; + $domainAlertArray = [1,7,45]; foreach ($domainAlertArray as $day) { @@ -209,7 +209,7 @@ if ($config_enable_alert_domain_expire == 1) { // CERTIFICATES EXPIRING -$certificateAlertArray = [1,7,14,30,90]; +$certificateAlertArray = [1,7,45]; foreach ($certificateAlertArray as $day) { @@ -239,7 +239,7 @@ foreach ($certificateAlertArray as $day) { // Asset Warranties Expiring -$warranty_alert_array = [1,7,14,30,90]; +$warranty_alert_array = [1,7,45]; foreach ($warranty_alert_array as $day) {