Removed rating and neutral reactions
authorAlexander Ebert <ebert@woltlab.com>
Tue, 16 Jul 2019 10:43:50 +0000 (12:43 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 16 Jul 2019 10:43:50 +0000 (12:43 +0200)
See #2975

wcfsetup/install/files/lib/system/worker/UserActivityPointItemsRebuildDataWorker.class.php

index 21da3d370c8e5ad7973a42cabe02cb4071f2eddf..fc70e54c467c7269e6eaee32de4e4db051983db3 100644 (file)
@@ -51,7 +51,7 @@ class UserActivityPointItemsRebuildDataWorker extends AbstractRebuildDataWorker
                $sql = "UPDATE          wcf" . WCF_N . "_user_activity_point user_activity_point
                        LEFT JOIN       wcf" . WCF_N . "_user user_table
                        ON              (user_table.userID = user_activity_point.userID)
-                       SET             user_activity_point.items = user_table.positiveReactionsReceived,
+                       SET             user_activity_point.items = user_table.likesReceived,
                                        user_activity_point.activityPoints = user_activity_point.items * ?
                        " . $conditionBuilder;
                $statement = WCF::getDB()->prepareStatement($sql);