projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc297a6
)
NotifySend.php
author
Edward
<edward@roojs.com>
Thu, 2 Jan 2014 07:20:40 +0000
(15:20 +0800)
committer
Edward
<edward@roojs.com>
Thu, 2 Jan 2014 07:20:40 +0000
(15:20 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
93dc771
..
2b8964c
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-99,7
+99,7
@@
class Pman_Core_NotifySend extends Pman
}
$sent = (empty($w->sent) || preg_match('/^0000/', $w->sent)) ? false : true;
- print_r('run');exit;
+
if (!$force && (!empty($w->msgid) || $sent)) {
$ww = clone($w);
if (!$sent) {
@@
-128,7
+128,7
@@
class Pman_Core_NotifySend extends Pman
$p = $w->person();
-
+ print_r('run');exit;
if (isset($p->active) && empty($p->active)) {
$ev = $this->addEvent('NOTIFY', $w,
"Notification event cleared (not user not active any more)" );;