diff --git a/CRM/Core/Permission.php b/CRM/Core/Permission.php index 519721257912d6eae26e32b51fc4066bdb5d5f48..cce8ca720053592d7a8642e803d817fce7a533dc 100644 --- a/CRM/Core/Permission.php +++ b/CRM/Core/Permission.php @@ -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(