projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f72205
)
Notify.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 15 Aug 2011 06:46:41 +0000
(14:46 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 15 Aug 2011 06:46:41 +0000
(14:46 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
3566b4b
..
ed3d519
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-84,7
+84,7
@@
class Pman_Core_Notify extends Pman
if (!empty($opts['old'])) {
$opts['list'] = 1; // force listing..
}
- $force = empty($opts['force']) ? 0 : 1;
+ $
this->
force = empty($opts['force']) ? 0 : 1;
$w = DB_DataObject::factory($this->table);
@@
-92,7
+92,7
@@
class Pman_Core_Notify extends Pman
if (!$showold) {
$w->whereAdd('act_when > sent'); // eg.. sent is not valid..
- if (!$force) {
+ if (!$
this->
force) {
$w->whereAdd('act_when < NOW()'); // eg.. not if future..
}