projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1844e00
)
NotifySend.php
author
edward
<edward@roojs.com>
Fri, 29 Jul 2016 08:22:54 +0000
(16:22 +0800)
committer
edward
<edward@roojs.com>
Fri, 29 Jul 2016 08:22:54 +0000
(16:22 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
78a5913
..
4851828
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-454,7
+454,9
@@
class Pman_Core_NotifySend extends Pman
if ($res === true) {
// success....
- $ev = $this->addEvent('NOTIFYSENT', $w, "{$w->to_email} - {$email['headers']['Subject']}");
+ $successEventName = (empty($email['successEventName'])) ? 'NOTIFYSENT' : $email['successEventName'];
+
+ $ev = $this->addEvent($successEventName, $w, "{$w->to_email} - {$email['headers']['Subject']}");
$ev->writeEventLog($this->debug_str);