From 4014b832814efa3061bde22f4b3a8ffdbdcd8d93 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 23 Jun 2014 21:08:59 +0800 Subject: [PATCH] Notify.php --- Notify.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Notify.php b/Notify.php index f4e9551e..975154e5 100644 --- a/Notify.php +++ b/Notify.php @@ -120,7 +120,7 @@ class Pman_Core_Notify extends Pman var $pool = array(); - function get($r,$opts) + function parseArgs(&$opts) { 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.. } - //date_default_timezone_set('UTC'); - // phpinfo();exit; $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']; } + } + + + function get($r,$opts) + { + $this->parseArgs($opts); + + //date_default_timezone_set('UTC'); + // phpinfo();exit; + $w = DB_DataObject::factory('core_notify_recur'); -- 2.39.2