projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6b78f17
)
Report/SendEventErrors.php
author
Alan Knowles
<alan@roojs.com>
Thu, 24 Mar 2016 04:06:30 +0000
(12:06 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 24 Mar 2016 04:06:30 +0000
(12:06 +0800)
Report/SendEventErrors.php
patch
|
blob
|
history
diff --git
a/Report/SendEventErrors.php
b/Report/SendEventErrors.php
index
cb331ed
..
fcf16bd
100644
(file)
--- a/
Report/SendEventErrors.php
+++ b/
Report/SendEventErrors.php
@@
-145,11
+145,6
@@
class Pman_Admin_Report_SendEventErrors extends Pman_Roo
if(empty($summary)){
$this->jerror('ERROR-REPORT-' . $this->opts['uid'], 'Nothing to be sent');
}
if(empty($summary)){
$this->jerror('ERROR-REPORT-' . $this->opts['uid'], 'Nothing to be sent');
}
- $this->addEvent('ERROR-REPORT-' . $this->opts['uid'], 'false', ;
- $e = DB_DataObject::factory('Events');
- $e->init('ERROR-REPORT',false,"Sending");
- $e->event_when = date('Y-m-d H:i:s');
- $eid = $e->insert();
$subject = array();
$subject = array();
@@
-163,6
+158,8
@@
class Pman_Admin_Report_SendEventErrors extends Pman_Roo
$subject = "{$this->opts['subject']} $subject";
}
$subject = "{$this->opts['subject']} $subject";
}
+ $this->addEvent('ERROR-REPORT-' . $this->opts['uid'], false, $subject);
+
$events = DB_DataObject::factory('Events');
$events->autoJoin();
$events = DB_DataObject::factory('Events');
$events->autoJoin();