projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5f9f73
)
Notify.php
author
Alan Knowles
<alan@roojs.com>
Mon, 11 Jun 2012 08:59:04 +0000
(16:59 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 11 Jun 2012 08:59:04 +0000
(16:59 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
0160458
..
6061962
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-103,7
+103,14
@@
class Pman_Core_Notify extends Pman
if (is_a($w, 'DB_DataObject')) {
$w->generateNotifications();
}
-
+ if (!empty($opts['generate'])) {
+ $w = DB_DataObject::factory($opts['generate']);
+ if (is_a($w, 'DB_DataObject')) {
+ $w->generateNotifications();
+ }
+
+
+ }
//DB_DataObject::debugLevel(1);
$w = DB_DataObject::factory($this->table);