projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a94aa47
)
NotifySend.php
author
Alan Knowles
<alan@akkbhome.com>
Wed, 6 Apr 2011 15:45:28 +0000
(23:45 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Wed, 6 Apr 2011 15:45:28 +0000
(23:45 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
f29826b
..
eb4a710
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-92,8
+92,12
@@
class Pman_Core_NotifySend extends Pman
die("GREYLISTED");
}
// fail.. = log and give up..
- $this->addEvent('NOTIFY', $w, 'FAILED - '. $res->toString());
-
+ $id = $this->addEvent('NOTIFY', $w, 'FAILED - '. $res->toString());
+ $w->sent = date('Y-m-d H:i:s');
+ $w->msgid = '';
+ $w->event_id = $id;
+ $w->update($ww);
+
}