From: Alan Knowles Date: Tue, 25 Apr 2017 04:04:27 +0000 (+0800) Subject: Notify.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=e08f55bb42ae6bee1a7bf1542b5afe701ebdfdfd Notify.php --- 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="") {