projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7f905a4
)
Notify.php
author
Alan
<alan@roojs.com>
Fri, 6 Oct 2023 07:11:57 +0000
(15:11 +0800)
committer
Alan
<alan@roojs.com>
Fri, 6 Oct 2023 07:11:57 +0000
(15:11 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
d4add2d
..
64563ce
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-182,9
+182,7
@@
class Pman_Core_Notify extends Pman
$this->generateNotifications();
$this->generateNotifications();
- $this->assignQueues();
-
- //DB_DataObject::debugLevel(1);
+ //DB_DataObject::debugLevel(1);
$w = DB_DataObject::factory($this->table);
$total = 0;
$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 = DB_DataObject::Factory('core_notify_server')->getCurrent($this);
+ $this->server->assignQueues($this);
+
if (!empty($this->evtype)) {
$w->evtype = $this->evtype;
}
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="")
{
function run($id, $email='', $cmdOpts="")
{