mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 06:40:33 -04:00
7 lines
270 B
PHP
7 lines
270 B
PHP
#!/usr/bin/php
|
|
<?
|
|
require_once('/standardebooks.org/web/lib/Core.php');
|
|
|
|
// Delete unconfirmed newsletter subscribers who are more than a week old
|
|
Db::Query('DELETE from NewsletterSubscriptions where IsConfirmed = false and datediff(utc_timestamp(), Created) >= 7');
|
|
?>
|