From 1e888ad6a4b86744832ab7b10d1eba85ca789f50 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 23 Dec 2022 06:26:58 +0000 Subject: [PATCH] Always check whe verified --- src/Worker/Cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker/Cron.php b/src/Worker/Cron.php index ecf8ad9f40..94f002805b 100644 --- a/src/Worker/Cron.php +++ b/src/Worker/Cron.php @@ -136,7 +136,7 @@ class Cron Worker::add(Worker::PRIORITY_LOW, 'OptimizeTables'); } - $users = DBA::select('owner-view', ['uid'], ["`last-activity` > ? AND (`homepage_verified` OR `homepage` != ?)", DateTimeFormat::utc('now - 30 days', 'Y-m-d'), '']); + $users = DBA::select('owner-view', ['uid'], ["`homepage_verified` OR (`last-activity` > ? AND `homepage` != ?)", DateTimeFormat::utc('now - 7 days', 'Y-m-d'), '']); while ($user = DBA::fetch($users)) { Worker::add(Worker::PRIORITY_LOW, 'CheckRelMeProfileLink', $user['uid']); } -- 2.39.5