From 801df16f3340434b93deb7efe504c5bf12e2a0b0 Mon Sep 17 00:00:00 2001 From: Alan Date: Mon, 6 Nov 2023 10:52:51 +0800 Subject: [PATCH] add links / fix search --- DataObjects/Core_notify_sender.php | 3 +-- DataObjects/pman.links.ini | 7 +++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/DataObjects/Core_notify_sender.php b/DataObjects/Core_notify_sender.php index e844859f..7e1a77c6 100644 --- a/DataObjects/Core_notify_sender.php +++ b/DataObjects/Core_notify_sender.php @@ -85,8 +85,7 @@ class Pman_Core_DataObjects_Core_notify_sender extends DB_DataObject $ns = DB_DataObject::Factory($this->tableName()); $ns->setFrom(array( - 'domain_id' => $to_dom->id, - 'poolname' => $notify->tableName(), + 'poolname' => $notify->tableName(), 'is_active' => 1, )); $ns->whereAddIn('!id', $bad_ids, 'int'); diff --git a/DataObjects/pman.links.ini b/DataObjects/pman.links.ini index d2e550de..76038805 100644 --- a/DataObjects/pman.links.ini +++ b/DataObjects/pman.links.ini @@ -78,6 +78,13 @@ method_id = core_enum:id server_id = core_notify_server:id domain_id = core_domain:id + +[core_notify_sender_blacklist] +domain_id = core_domain:id +sender_id = core_notify_sender:id + + + [core_email] -- 2.39.2