projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1b7115
)
Report/SendEventErrors.php
author
edward
<edward@roojs.com>
Fri, 5 Feb 2016 04:04:01 +0000
(12:04 +0800)
committer
edward
<edward@roojs.com>
Fri, 5 Feb 2016 04:04:01 +0000
(12:04 +0800)
Report/SendEventErrors.php
patch
|
blob
|
history
diff --git
a/Report/SendEventErrors.php
b/Report/SendEventErrors.php
index
7008ae6
..
7df1283
100644
(file)
--- a/
Report/SendEventErrors.php
+++ b/
Report/SendEventErrors.php
@@
-36,7
+36,6
@@
class Pman_Admin_Report_SendEventErrors extends Pman_Roo
function get($args, $opts)
{
- print_R($opts);exit;
$this->opts = $opts;
$this->transObj = DB_DataObject::Factory('core_enum');
@@
-64,6
+63,10
@@
class Pman_Admin_Report_SendEventErrors extends Pman_Roo
$events->whereAdd("Events.event_when > NOW() - INTERVAL 1 DAY");
+ if(!empty($this->opt['exclude'])){
+ $exclude = array_unique(array_filter(array_map('trim', explode(',', $this->opt['exclude']))));
+ }
+
$events->groupBy('Events.action');
$events->orderBy('Events.action ASC');