projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e227984
)
DataObjects/Core_notify.php
author
Alan Knowles
<alan@roojs.com>
Mon, 5 Aug 2013 08:29:21 +0000
(16:29 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 5 Aug 2013 08:29:21 +0000
(16:29 +0800)
DataObjects/Core_notify.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
3b174ed
..
b3eaf7b
100644
(file)
--- a/
DataObjects/Core_notify.php
+++ b/
DataObjects/Core_notify.php
@@
-110,6
+110,12
@@
class Pman_Core_DataObjects_Core_notify extends DB_DataObject
return !empty($this->msgid);
}
+ function whereAddUndelivered()
+ {
+ $tn = $this->tableName();
+ $this->whereAdd("$tn.msgid IS NULL OR $tn.msgid = ''");
+ }
+
function status() // used by commandline reporting at present..
{
switch($this->event_id) {