mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 02:46:46 -04:00
Convert newsletter to use Users table as base
This commit is contained in:
parent
b48a788430
commit
011cd747f1
34 changed files with 444 additions and 307 deletions
|
@ -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');
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue