Skip to content
Permalink
Browse files

Fix cns_confirm_reminder hook

  • Loading branch information...
chrisgraham committed May 29, 2019
1 parent 4ec916f commit 7a22d8ff0f5f09adbcfa6d7388392e4ffebf43e2
Showing with 1 addition and 0 deletions.
  1. +1 −0 sources/hooks/systems/cron/cns_confirm_reminder.php
@@ -40,6 +40,7 @@ public function run()
$last_time = intval(get_value('last_confirm_reminder_time', null, true));
if ($last_time == 0) {
$last_time = time();
set_value('last_confirm_reminder_time', strval($time), true);
}
if ($last_time > time() - 24 * 60 * 60 * 2) {
return;

0 comments on commit 7a22d8f

Please sign in to comment.
You can’t perform that action at this time.