]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/UpdateScores.php
New table "post-counts" to precalculate the counts
[friendica.git] / src / Worker / UpdateScores.php
index 1f02bf4157de7757435ffbe70b31b75b4d721c12..f17027a09d26b3bf063b738b580c4a3ccd058564 100644 (file)
@@ -35,7 +35,7 @@ class UpdateScores
        {
                Logger::notice('Start score update');
 
-               $users = DBA::select('user', ['uid'], ["NOT `account_expired` AND NOT `account_removed` AND `uid` > ?", 0]);
+               $users = DBA::select('user', ['uid'], ["`verified` AND NOT `blocked` AND NOT `account_removed` AND NOT `account_expired` AND `uid` > ?", 0]);
                while ($user = DBA::fetch($users)) {
                        Relation::calculateInteractionScore($user['uid']);
                }