From: Kurund Jalmi Date: Fri, 19 Jul 2013 11:21:12 +0000 (+0530) Subject: code cleanup X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=20331e478b3c0d398c38b7cce032e480c37df65b;p=civicrm-core.git code cleanup --- diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index 9d510df582..c9d11fc4fb 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -4032,10 +4032,6 @@ civicrm_relationship.start_date > {$today} $this->_whereClause = $this->whereClause(); } - // hack for now, add permission only if we are in search - // FIXME: we should actually filter out deleted contacts (unless requested to do the opposite) - $permission = ' ( 1 ) '; - $onlyDeleted = FALSE; $onlyDeleted = in_array(array('deleted_contacts', '=', '1', '0', '0'), $this->_params); // if we’re explicitely looking for a certain contact’s contribs, events, etc.