From 182480ad25785e2978a08d49babb0e60e2811317 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 7 Jan 2016 15:19:14 +0800 Subject: [PATCH] Notify.php --- Notify.php | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/Notify.php b/Notify.php index a35770a6..d87475e3 100644 --- a/Notify.php +++ b/Notify.php @@ -153,23 +153,21 @@ class Pman_Core_Notify extends Pman //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; - - } + + + $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; -- 2.39.2