Remove unused ProjectControl#isOwnerAnyRef()

Change-Id: I6c541b829e72e0dd8a7c5e4fc9b67da7bfcfe8c8
This commit is contained in:
Patrick Hiesel
2017-10-01 16:35:32 +01:00
parent b7d274f03c
commit edf0772e6e

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) {