Merge "Remove unused ProjectControl#isOwnerAnyRef()"
This commit is contained in:
@@ -219,11 +219,6 @@ public class ProjectControl {
|
|||||||
return Capable.OK;
|
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? */
|
/** Can the user run upload pack? */
|
||||||
private boolean canRunUploadPack() {
|
private boolean canRunUploadPack() {
|
||||||
for (AccountGroup.UUID group : uploadGroups) {
|
for (AccountGroup.UUID group : uploadGroups) {
|
||||||
|
|||||||
Reference in New Issue
Block a user