Notify.php
authorAlan Knowles <alan@roojs.com>
Tue, 25 Apr 2017 04:04:27 +0000 (12:04 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 25 Apr 2017 04:04:27 +0000 (12:04 +0800)
Notify.php

index f6b22eb..648e1d6 100644 (file)
@@ -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="")
     {