projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b1126b3
)
NotifySend.php
author
leon
<leon@roojs.com>
Tue, 1 Mar 2022 09:39:19 +0000
(17:39 +0800)
committer
leon
<leon@roojs.com>
Tue, 1 Mar 2022 09:39:19 +0000
(17:39 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
bcf17c7
..
0e2e30b
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-102,13
+102,13
@@
class Pman_Core_NotifySend extends Pman
$this->errorHandler("invalid id\n");
}
$ev = $this->addEvent('NOTIFYFAIL', $w, "TEST ERROR");
$this->errorHandler("invalid id\n");
}
$ev = $this->addEvent('NOTIFYFAIL', $w, "TEST ERROR");
- /*
+
$ww = clone($w);
$w->sent = (!$w->sent || $w->sent == '0000-00-00 00:00:00') ? $w->sqlValue('NOW()') : $w->sent; // do not update if sent.....
$w->msgid = '';
$w->event_id = $ev->id;
$w->update($ww);
$ww = clone($w);
$w->sent = (!$w->sent || $w->sent == '0000-00-00 00:00:00') ? $w->sqlValue('NOW()') : $w->sent; // do not update if sent.....
$w->msgid = '';
$w->event_id = $ev->id;
$w->update($ww);
- */
+
$this->errorHandler("test\n");
if (!$force && strtotime($w->act_when) < strtotime($w->sent)) {
$this->errorHandler("test\n");
if (!$force && strtotime($w->act_when) < strtotime($w->sent)) {