Remove unused ProjectControl#isOwnerAnyRef()
Change-Id: I6c541b829e72e0dd8a7c5e4fc9b67da7bfcfe8c8
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user