MINOR removed redundant method call (from r97817) (from r98222)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102629 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-04-13 02:29:35 +00:00
parent b7c59241df
commit a2883d0354

View File

@ -1063,7 +1063,6 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
else $result[$item->ID] = $siteConfigPermission; else $result[$item->ID] = $siteConfigPermission;
} }
$actuallyInherited = self::can_edit_multiple(array_keys($groupedByParent), $memberID);
$actuallyInherited = self::batch_permission_check(array_keys($groupedByParent), $memberID, $typeField, $groupJoinTable, $siteConfigMethod); $actuallyInherited = self::batch_permission_check(array_keys($groupedByParent), $memberID, $typeField, $groupJoinTable, $siteConfigMethod);
if($actuallyInherited) { if($actuallyInherited) {
$parentIDs = array_keys(array_filter($actuallyInherited)); $parentIDs = array_keys(array_filter($actuallyInherited));