From 7904c8b6058977c9fd03df25c4ae99ce492ae5bf Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 12 Apr 2013 20:45:43 +1200 Subject: [PATCH] CRM-12322 remove multisite specific ACL portion as aclHook portion further down is better --- CRM/Core/Permission.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/CRM/Core/Permission.php b/CRM/Core/Permission.php index 5197212579..cce8ca7200 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( -- 2.25.1