projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b43001e
)
Report/SendEventErrors.php
author
Alan Knowles
<alan@roojs.com>
Thu, 24 Mar 2016 04:16:22 +0000
(12:16 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 24 Mar 2016 04:16:22 +0000
(12:16 +0800)
Report/SendEventErrors.php
patch
|
blob
|
history
diff --git
a/Report/SendEventErrors.php
b/Report/SendEventErrors.php
index
2c3b4a0
..
e765047
100644
(file)
--- a/
Report/SendEventErrors.php
+++ b/
Report/SendEventErrors.php
@@
-63,7
+63,14
@@
class Pman_Admin_Report_SendEventErrors extends Pman_Roo
'default' => '',
'min' => 1,
'max' => 1,
- )
+ ),
+ 'debug' => array(
+ 'desc' => 'Turn on database debugging',
+ 'short' => 'd',
+ 'default' => '',
+ 'min' => 1,
+ 'max' => 1,
+ ),
);
function getAuth()
@@
-81,7
+88,10
@@
class Pman_Admin_Report_SendEventErrors extends Pman_Roo
{
$this->opts = $opts;
+ if (!empty($this->opts['debug'])) {
+ DB_DataObject::debugLevel(1);
+ }
if(!empty($this->opts['list'])){
$this->listTypes();
}