Minor fix. Replace getParentCommunity() call with parent variable.

This commit is contained in:
Tim Donohue
2014-08-15 15:13:04 -05:00
parent 0aa39100a9
commit 059556034d

View File

@@ -1128,7 +1128,7 @@ public class Community extends DSpaceObject
// MUST have either REMOVE permissions on parent community (if exists)
// OR have DELETE permissions on current community
if (parent!= null && !AuthorizeManager.authorizeActionBoolean(ourContext,
getParentCommunity(), Constants.REMOVE))
parent, Constants.REMOVE))
{
// If we don't have Parent Community REMOVE permissions, then
// we MUST at least have current Community DELETE permissions