From 4329739995dfdeb8094e181a549e18519a0bf226 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 25 Apr 2017 12:14:12 +0800 Subject: [PATCH] Notify.php --- Notify.php | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/Notify.php b/Notify.php index 179b4e89..14359d63 100644 --- a/Notify.php +++ b/Notify.php @@ -152,24 +152,9 @@ class Pman_Core_Notify extends Pman //date_default_timezone_set('UTC'); + $this->generateNotifications(); - - // phpinfo();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; -- 2.39.2