From: Alan Date: Thu, 2 Nov 2023 06:13:50 +0000 (+0800) Subject: DataObjects/Core_notify_sender.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=728100f928a95f07698f41d98301121a52bdaaad;p=Pman.Core DataObjects/Core_notify_sender.php sql/core_notify_blacklist_sender.sql sql/core_notify_sender.sql DataObjects/Core_notify_blacklist_sender.php --- diff --git a/DataObjects/Core_notify_blacklist_sender.php b/DataObjects/Core_notify_blacklist_sender.php new file mode 100644 index 00000000..fae68a5c --- /dev/null +++ b/DataObjects/Core_notify_blacklist_sender.php @@ -0,0 +1,41 @@ +query(" + DELETE FROM {$this->tableName()} where added_dt < NOW() - INTERVAL 1 WEEK + "); + + } + +} \ No newline at end of file diff --git a/DataObjects/Core_notify_sender.php b/DataObjects/Core_notify_sender.php new file mode 100644 index 00000000..042deac6 --- /dev/null +++ b/DataObjects/Core_notify_sender.php @@ -0,0 +1,18 @@ +