Merge "Remove unused ProjectControl#isOwnerAnyRef()"

This commit is contained in:
David Pursehouse
2017-10-01 17:20:45 +00:00
committed by Gerrit Code Review

View File

@@ -219,11 +219,6 @@ public class ProjectControl {
return Capable.OK;
}
/** Does this user have ownership on at least one reference name? */
public boolean isOwnerAnyRef() {
return canPerformOnAnyRef(Permission.OWNER) || isAdmin();
}
/** Can the user run upload pack? */
private boolean canRunUploadPack() {
for (AccountGroup.UUID group : uploadGroups) {