]> git.mxchange.org Git - friendica.git/commitdiff
Always check whe verified
authorMichael <heluecht@pirati.ca>
Fri, 23 Dec 2022 06:26:58 +0000 (06:26 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 23 Dec 2022 06:26:58 +0000 (06:26 +0000)
src/Worker/Cron.php

index ecf8ad9f400704dca3770f9075d6c069f2133b91..94f002805b4baf2974eb823e6e051833906e359a 100644 (file)
@@ -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']);
                        }