projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7362780
)
Report/SendEventErrors.php
author
edward
<edward@roojs.com>
Fri, 5 Feb 2016 04:25:42 +0000
(12:25 +0800)
committer
edward
<edward@roojs.com>
Fri, 5 Feb 2016 04:25:42 +0000
(12:25 +0800)
Report/SendEventErrors.php
patch
|
blob
|
history
diff --git
a/Report/SendEventErrors.php
b/Report/SendEventErrors.php
index
41d3930
..
52607aa
100644
(file)
--- a/
Report/SendEventErrors.php
+++ b/
Report/SendEventErrors.php
@@
-118,12
+118,13
@@
class Pman_Admin_Report_SendEventErrors extends Pman_Roo
$events->whereAdd("Events.event_when > NOW() - INTERVAL 1 DAY");
+ $exclude = array_unique(array_filter(array_map('trim', explode(',', $this->opts['exclude']))));
+
if(!empty($exclude)){
$events->whereAddIn('!Events.action', $exclude, 'string');
}
- $events->groupBy('Events.action');
- $events->orderBy('Events.action ASC');
+ print_R($exclude);exit;
$this->jok("Done");