From: Matthias Schmidt Date: Mon, 23 Dec 2013 13:44:52 +0000 (+0100) Subject: Fixes category acl option cache builder X-Git-Tag: 2.0.1~19^2~1^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7cc28681c12203fdda27baa77c9908e1800b51f9;p=GitHub%2FWoltLab%2FWCF.git Fixes category acl option cache builder --- diff --git a/wcfsetup/install/files/lib/system/cache/builder/CategoryACLOptionCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/CategoryACLOptionCacheBuilder.class.php index b8ac43c2b6..1a8dd17258 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/CategoryACLOptionCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/CategoryACLOptionCacheBuilder.class.php @@ -29,7 +29,6 @@ class CategoryACLOptionCacheBuilder extends AbstractCacheBuilder { $aclOptions = ACLHandler::getInstance()->getPermissions(ACLHandler::getInstance()->getObjectTypeID($aclObjectType), array_keys($categories)); $options = $aclOptions['options']->getObjects(); - $data = array(); foreach (array('group', 'user') as $type) { foreach ($aclOptions[$type] as $categoryID => $optionData) { if (!isset($data[$categoryID])) {