projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4681511
)
NotifySend.php
author
Edward
<edward@roojs.com>
Tue, 31 Dec 2013 05:57:18 +0000
(13:57 +0800)
committer
Edward
<edward@roojs.com>
Tue, 31 Dec 2013 05:57:18 +0000
(13:57 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
c347d70
..
2f5ad9d
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-85,7
+85,7
@@
class Pman_Core_NotifySend extends Pman
$force = empty($opts['force']) ? 0 : 1;
$w = DB_DataObject::factory($this->table);
- print_r($w);exit;
+
if (!$w->get($id)) {
die("invalid id\n");
}
@@
-170,7
+170,7
@@
class Pman_Core_NotifySend extends Pman
$next_try_min = floor((time() - strtotime($last_event)) / 60) * 2;
}
$next_try = $next_try_min . ' MINUTES';
- print_r($o);exit;
+
// this may modify $p->email. (it will not update it though)
$email = $this->makeEmail($o, $p, $last, $w, $force);