projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b07e67c
)
code cleanup
author
Kurund Jalmi
<kurund@civicrm.org>
Fri, 19 Jul 2013 11:21:12 +0000
(16:51 +0530)
committer
Kurund Jalmi
<kurund@civicrm.org>
Fri, 19 Jul 2013 11:21:12 +0000
(16:51 +0530)
CRM/Contact/BAO/Query.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Query.php
b/CRM/Contact/BAO/Query.php
index 9d510df582867e93408ddc51b15e7d491a47f3b1..c9d11fc4fbd2b6a7fc2a4e64a55449b82a3e0d90 100644
(file)
--- 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.