From 20331e478b3c0d398c38b7cce032e480c37df65b Mon Sep 17 00:00:00 2001 From: Kurund Jalmi Date: Fri, 19 Jul 2013 16:51:12 +0530 Subject: [PATCH] code cleanup --- CRM/Contact/BAO/Query.php | 4 ---- 1 file changed, 4 deletions(-) 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. -- 2.25.1