Remove unused methods
Change-Id: Ie54f215d831f214b3595c3c4f4c26c80589be7aa
diff --git a/ui/code-owners-service.js b/ui/code-owners-service.js
index 25cbec4..dccb6d5 100644
--- a/ui/code-owners-service.js
+++ b/ui/code-owners-service.js
@@ -111,18 +111,6 @@
}
/**
- * Returns a promise fetching project_config for code owners.
- *
- * @doc https://gerrit.googlesource.com/plugins/code-owners/+/refs/heads/master/resources/Documentation/rest-api.md#get-code-owner-project-config
- * @param {string} project
- */
- getProjectConfig(project) {
- return this.restApi.get(
- `/projects/${encodeURIComponent(project)}/code_owners.project_config`
- );
- }
-
- /**
* Returns a promise fetching the owners config for a given branch.
*
* @doc https://gerrit.googlesource.com/plugins/code-owners/+/refs/heads/master/resources/Documentation/rest-api.md#branch-endpoints
@@ -487,14 +475,6 @@
this._totalFetchCount = 0;
}
- getProjectConfig() {
- if (!this.getProjectConfigPromise) {
- this.getProjectConfigPromise =
- this.codeOwnerApi.getProjectConfig(this.change.project);
- }
- return this.getProjectConfigPromise;
- }
-
getBranchConfig() {
if (!this.getBranchConfigPromise) {
this.getBranchConfigPromise =