summaryrefslogtreecommitdiff
path: root/core/helpers/access.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-03 04:28:14 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-03 04:28:14 +0000
commite03bb0f7c37a8f68b088512d4b65108db4b6c46a (patch)
treee86a237f52517f6583cd5b7fb33d268e1158396b /core/helpers/access.php
parentdc35a005bcf07c8ee57c355549b5f79da22b5b01 (diff)
Re-enable access_cache propagation now that we've patched the MySQL driver.
Diffstat (limited to 'core/helpers/access.php')
-rw-r--r--core/helpers/access.php5
1 files changed, 1 insertions, 4 deletions
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;