From: Alan Date: Fri, 6 Oct 2023 07:11:57 +0000 (+0800) Subject: Notify.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=91f4af9133f20ecafed9605653310adc5fc4e648;p=Pman.Core Notify.php --- diff --git a/Notify.php b/Notify.php index d4add2d9..64563cea 100644 --- a/Notify.php +++ b/Notify.php @@ -182,9 +182,7 @@ class Pman_Core_Notify extends Pman $this->generateNotifications(); - $this->assignQueues(); - - //DB_DataObject::debugLevel(1); + //DB_DataObject::debugLevel(1); $w = DB_DataObject::factory($this->table); $total = 0; @@ -195,6 +193,8 @@ class Pman_Core_Notify extends Pman $this->server = DB_DataObject::Factory('core_notify_server')->getCurrent($this); + $this->server->assignQueues($this); + if (!empty($this->evtype)) { $w->evtype = $this->evtype; } @@ -377,13 +377,7 @@ class Pman_Core_Notify extends Pman } - function assignQueues() - { - - DB_DataObject::Factory('core_notify_server')->assignQueues($this); - - - } + function run($id, $email='', $cmdOpts="") {