Skip to content

Commit f28c1ce

Browse files
committed
In-App alerts are spawned 1,7 and 45 days instead of 1,7,14,30 and 90
1 parent 6cc6e80 commit f28c1ce

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Diff for: admin_settings_notification.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<th>
3838
<div><i class="fas fa-fw fa-globe mr-2"></i>Domain Expiration Notice</div>
3939
<small class="text-muted">
40-
(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.)
40+
(This setting triggers a notification when a domain is approaching its expiration date, specifically at 1, 7 and 45 days prior to expiry.)
4141
</small>
4242
</th>
4343
<td>
@@ -54,7 +54,7 @@
5454
<th>
5555
<div><i class="fas fa-fw fa-lock mr-2"></i>Certificate Expiration Notice</div>
5656
<small class="text-muted">
57-
(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.)
57+
(This setting triggers a notification when a certificate is approaching its expiration date, specifically at 1, 7 and 45 days prior to expiry.)
5858
</small>
5959
</th>
6060
<td>
@@ -67,7 +67,7 @@
6767
<th>
6868
<div><i class="fas fa-fw fa-desktop mr-2"></i>Asset Warranty Expiration Notice</div>
6969
<small class="text-muted">
70-
(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.)
70+
(This setting triggers a notification when an asset is approaching its expiration date, specifically at 1, 7 and 45 days prior to expiry.)
7171
</small>
7272
</th>
7373
<td>

Diff for: scripts/cron.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179

180180
if ($config_enable_alert_domain_expire == 1) {
181181

182-
$domainAlertArray = [1,7,14,30,90];
182+
$domainAlertArray = [1,7,45];
183183

184184
foreach ($domainAlertArray as $day) {
185185

@@ -209,7 +209,7 @@
209209

210210
// CERTIFICATES EXPIRING
211211

212-
$certificateAlertArray = [1,7,14,30,90];
212+
$certificateAlertArray = [1,7,45];
213213

214214
foreach ($certificateAlertArray as $day) {
215215

@@ -239,7 +239,7 @@
239239

240240
// Asset Warranties Expiring
241241

242-
$warranty_alert_array = [1,7,14,30,90];
242+
$warranty_alert_array = [1,7,45];
243243

244244
foreach ($warranty_alert_array as $day) {
245245

0 commit comments

Comments
 (0)