Unverified Commit 4fefe756 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub

Merge pull request #16862 from eileenmcnaughton/build

[REF] Remove redundant call to build permissions
parents 1bb6e830 89af3420
......@@ -3870,6 +3870,9 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND
* Buld contact acl clause
* @deprecated in favor of buildPermissionClause
*
* Note that if the buildPermissionClause function is called (which most reports do from
* buildQuery then the results of this function are re-calculated and overwritten.
*
* @param string $tableAlias
*/
public function buildACLClause($tableAlias = 'contact_a') {
......
......@@ -741,14 +741,6 @@ ROUND(AVG({$this->_aliases['civicrm_contribution_soft']}.amount), 2) as civicrm_
return $statistics;
}
/**
* Post process function.
*/
public function postProcess() {
$this->buildACLClause($this->_aliases['civicrm_contact']);
parent::postProcess();
}
/**
* Build chart.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment