From e03bb0f7c37a8f68b088512d4b65108db4b6c46a Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 3 Dec 2008 04:28:14 +0000 Subject: Re-enable access_cache propagation now that we've patched the MySQL driver. --- core/helpers/access.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'core/helpers') diff --git a/core/helpers/access.php b/core/helpers/access.php index 71f9ca5b..f6bc93c9 100644 --- a/core/helpers/access.php +++ b/core/helpers/access.php @@ -222,10 +222,7 @@ class access_Core { foreach (ORM::factory("permission")->find_all() as $perm) { foreach (self::_get_all_groups() as $group) { $field = "{$perm->name}_{$group->id}"; - - //Temporary disable this to get tests to pass - //$access_cache->$field = $parent_access_cache->$field; - + $access_cache->$field = $parent_access_cache->$field; } $field = "{$perm->name}_0"; $access_cache->$field = $parent_access_cache->$field; -- cgit v1.2.3