From e08f55bb42ae6bee1a7bf1542b5afe701ebdfdfd Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 25 Apr 2017 12:04:27 +0800 Subject: [PATCH] Notify.php --- Notify.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Notify.php b/Notify.php index f6b22ebb..648e1d60 100644 --- a/Notify.php +++ b/Notify.php @@ -152,6 +152,10 @@ class Pman_Core_Notify extends Pman $this->parseArgs($opts); //date_default_timezone_set('UTC'); + + + + // phpinfo();exit; if (!empty($opts['generate'])) { $w = DB_DataObject::factory($opts['generate']); @@ -288,6 +292,15 @@ class Pman_Core_Notify extends Pman exit; } + function generateNotifications() + { + // this should check each module for 'GenerateNotifications.php' class.. + //and run it if found.. + + } + + + function run($id, $email, $cmdOpts="") { -- 2.39.2