Index: trunk/core/units/categories/cache_updater.php =================================================================== diff -u -N -r7855 -r7884 --- trunk/core/units/categories/cache_updater.php (.../cache_updater.php) (revision 7855) +++ trunk/core/units/categories/cache_updater.php (.../cache_updater.php) (revision 7884) @@ -105,25 +105,13 @@ function GetInsertSQL() { $values = array(); - - $has_deny = array(); - - // don't write DACL at all - /*foreach ($this->Deny as $perm => $groups) { - if (count($groups) > 0) { - $values[] = '('.$this->CatId.', '.$perm.', "", "'.join(',', $groups).'")'; - $has_deny[] = $perm; - } - }*/ - foreach ($this->Allow as $perm => $groups) { -// if (in_array($perm, $has_deny)) continue; if (count($groups) > 0) { - $values[] = '(' .$this->CatId. ', ' .$perm. ', "' .join(',', $groups). '", "")'; + $values[] = '(' .$this->CatId. ', ' .$perm. ', "' .join(',', $groups). '")'; } } if (!$values) return ''; - $sql = 'INSERT INTO '.TABLE_PREFIX.'PermCache (CategoryId, PermId, ACL, DACL) VALUES '.join(',', $values); + $sql = 'INSERT INTO '.TABLE_PREFIX.'PermCache (CategoryId, PermId, ACL) VALUES '.join(',', $values); return $sql; } }