projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7e73a07
)
Notify.php
author
Alan Knowles
<alan@roojs.com>
Mon, 23 Jun 2014 13:08:59 +0000
(21:08 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 23 Jun 2014 13:08:59 +0000
(21:08 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
f4e9551
..
975154e
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-120,7
+120,7
@@
class Pman_Core_Notify extends Pman
var $pool = array();
var $pool = array();
- function
get($r,$opts)
+ function
parseArgs(&$opts)
{
if ($opts['debug']) {
DB_DataObject::debugLevel($opts['debug']);
{
if ($opts['debug']) {
DB_DataObject::debugLevel($opts['debug']);
@@
-134,8
+134,6
@@
class Pman_Core_Notify extends Pman
if (empty($opts['limit'])) {
$opts['limit'] = '1000'; // not sure why it's not picking up the defautl..
}
if (empty($opts['limit'])) {
$opts['limit'] = '1000'; // not sure why it's not picking up the defautl..
}
- //date_default_timezone_set('UTC');
- // phpinfo();exit;
$showold = !empty($opts['old']);
if (!empty($opts['old'])) {
$opts['list'] = 1; // force listing..
$showold = !empty($opts['old']);
if (!empty($opts['old'])) {
$opts['list'] = 1; // force listing..
@@
-146,6
+144,16
@@
class Pman_Core_Notify extends Pman
if (!empty($opts['send-to'])) {
$this->send_to = $opts['send-to'];
}
if (!empty($opts['send-to'])) {
$this->send_to = $opts['send-to'];
}
+ }
+
+
+ function get($r,$opts)
+ {
+ $this->parseArgs($opts);
+
+ //date_default_timezone_set('UTC');
+ // phpinfo();exit;
+
$w = DB_DataObject::factory('core_notify_recur');
$w = DB_DataObject::factory('core_notify_recur');