[#42] added logging exception
This commit is contained in:
parent
65424ab4bc
commit
c96abd8407
1 changed files with 13 additions and 0 deletions
13
twingle.php
13
twingle.php
|
@ -153,6 +153,19 @@ function twingle_civicrm_alterAPIPermissions($entity, $action, &$params, &$permi
|
|||
$permissions['twingle_donation']['endrecurring'] = array('access Twingle API');
|
||||
}
|
||||
|
||||
/**
|
||||
* Make sure, that the last_access and access_counter column is not logged
|
||||
*
|
||||
* @param array $logTableSpec
|
||||
*/
|
||||
function twingle_civicrm_alterLogTables(&$logTableSpec)
|
||||
{
|
||||
if (isset($logTableSpec['civicrm_twingle_profile'])) {
|
||||
$logTableSpec['civicrm_twingle_profile']['exceptions'] = ['last_access', 'access_counter'];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// --- Functions below this ship commented out. Uncomment as required. ---
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue