mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 18:42:00 -04:00
Add newsletter management functionality
This commit is contained in:
parent
90ee0a93c9
commit
b0197d189a
57 changed files with 1017 additions and 143 deletions
6
scripts/delete-unconfirmed-newsletter-subscribers.php
Normal file
6
scripts/delete-unconfirmed-newsletter-subscribers.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?
|
||||
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(), Timestamp) >= 7');
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue