Resolve ToDo in DailyMailNotificationCronjob
authorTim Düsterhus <duesterhus@woltlab.com>
Sun, 31 Jul 2016 11:24:51 +0000 (13:24 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Sun, 31 Jul 2016 11:26:06 +0000 (13:26 +0200)
wcfsetup/install/files/lib/system/cronjob/DailyMailNotificationCronjob.class.php

index 722e208bc7624fa06cc97d35db0c537f1682acc6..c0769c94bf5276db3830be499a481f9ea1359026 100644 (file)
@@ -42,7 +42,7 @@ class DailyMailNotificationCronjob extends AbstractCronjob {
                $statement = WCF::getDB()->prepareStatement($sql);
                $statement->execute([
                        0,
-                       TIME_NOW/*TODO - 3600 * 23*/,
+                       TIME_NOW - 3600 * 23,
                        0
                ]);
                $userIDs = $statement->fetchAll(\PDO::FETCH_COLUMN);