projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aed53f0
)
Notify.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 11 Aug 2011 02:45:01 +0000
(10:45 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 11 Aug 2011 02:45:01 +0000
(10:45 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
690d423
..
3b87670
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-30,7
+30,7
@@
class Pman_Core_Notify extends Pman
'list' => array(
'desc' => 'List message to send, do not send them..',
'default' => 0,
- 'short' => '
v
',
+ 'short' => '
l
',
'min' => 1,
'max' => 1,
@@
-81,6
+81,22
@@
class Pman_Core_Notify extends Pman
$ar = $w->fetchAll();
+ if (!empty($opts['list'])) {
+ foreach($ar as $w) {
+ $o = $w->object();
+ $p = $w->person();
+
+ echo "$e->id : $w->email : ". $w->toEventString()."\n";
+ }
+ exit;
+
+
+
+
+ }
+
+
+
while (true) {
if (empty($ar)) {
break;