projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7e5b304
)
Notify.php
author
Alan Knowles
<alan@roojs.com>
Thu, 7 Jan 2016 07:19:14 +0000
(15:19 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 7 Jan 2016 07:19:14 +0000
(15:19 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
a35770a
..
d87475e
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-153,23
+153,21
@@
class Pman_Core_Notify extends Pman
//date_default_timezone_set('UTC');
// phpinfo();exit;
//date_default_timezone_set('UTC');
// phpinfo();exit;
-
-
-
- $w = DB_DataObject::factory('core_notify_recur');
- 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();
}
exit;
if (!empty($opts['generate'])) {
$w = DB_DataObject::factory($opts['generate']);
if (is_a($w, 'DB_DataObject')) {
$w->generateNotifications();
}
exit;
-
-
}
}
+
+
+ $w = DB_DataObject::factory('core_notify_recur');
+ if (is_a($w, 'DB_DataObject')) {
+ $w->generateNotifications();
+ }
+
//DB_DataObject::debugLevel(1);
$w = DB_DataObject::factory($this->table);
$total = 0;
//DB_DataObject::debugLevel(1);
$w = DB_DataObject::factory($this->table);
$total = 0;