sync
[Pman.Admin] / Report / SendEventErrors.php
index d9c361a..d2aa0f8 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-
 require_once 'Pman/Roo.php';
 
 class Pman_Admin_Report_SendEventErrors extends Pman_Roo
@@ -210,9 +210,9 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo
         
         
         $content = array(
-            'template'      => 'Release_Spider_Report',
+            'template'      => 'FILE_REPORTING_EMAIL',
             'rcpts_group'   => $this->opts['group'],
-            'data'        => $this,
+            'errors'        => $errors,
             'subject'       => $subject
         );
 
@@ -228,7 +228,7 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo
     
     function listTypes()
     {
-         $events = DB_DataObject::factory('Events');
+        $events = DB_DataObject::factory('Events');
         $events->selectAdd();
         $events->selectAdd("
             DISTINCT(Events.action) AS action
@@ -241,5 +241,10 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo
         
     }
     
+    static function test_EVENT_ERRORS_REPORT($pg, $to)
+    {
+        $this->jerr("Not implemented");
+    }
+    
     
 }
\ No newline at end of file