Convert newsletter to use Users table as base

This commit is contained in:
Alex Cabal 2022-07-04 12:01:36 -05:00
parent b48a788430
commit 011cd747f1
34 changed files with 444 additions and 307 deletions

View file

@ -3,5 +3,5 @@
require_once('/standardebooks.org/web/lib/Core.php');
// Delete unconfirmed newsletter subscribers who are more than a week old
Db::Query('DELETE from NewsletterSubscribers where IsConfirmed = false and datediff(utc_timestamp(), Created) >= 7');
Db::Query('DELETE from NewsletterSubscriptions where IsConfirmed = false and datediff(utc_timestamp(), Created) >= 7');
?>