Skip to content
Snippets Groups Projects
Commit a604d774 authored by lobo's avatar lobo
Browse files

Merge pull request #402 from eileenmcnaughton/4.3

CRM-12322 remove multisite specific ACL portion 
parents 36ae12ae 7904c8b6
No related branches found
No related tags found
No related merge requests found
......@@ -500,15 +500,6 @@ class CRM_Core_Permission {
$session = CRM_Core_Session::singleton();
$contactID = $session->get('userID');
if (self::isMultisiteEnabled()) {
// For multisite just check if there are contacts in acl_contact_cache table for now.
// FixMe: so even if a user in multisite has very limited permission could still
// see search / contact navigation options for example.
return CRM_Contact_BAO_Contact_Permission::hasContactsInCache(CRM_Core_Permission::VIEW,
$contactID
);
}
//check for acl.
$aclPermission = self::getPermission();
if (in_array($aclPermission, array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment