summaryrefslogtreecommitdiff
path: root/lib/bitbucket_server/representation
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bitbucket_server/representation')
-rw-r--r--lib/bitbucket_server/representation/repo.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/bitbucket_server/representation/repo.rb b/lib/bitbucket_server/representation/repo.rb
index 8e163e8a1fc..1338f877fc1 100644
--- a/lib/bitbucket_server/representation/repo.rb
+++ b/lib/bitbucket_server/representation/repo.rb
@@ -9,10 +9,6 @@ module BitbucketServer
raw.dig('project', 'name')
end
- def owner
- project['name']
- end
-
def slug
raw['slug']
end
@@ -30,7 +26,7 @@ module BitbucketServer
end
def full_name
- "#{owner}/#{name}"
+ "#{project_name}/#{name}"
end
def issues_enabled?
@@ -45,10 +41,6 @@ module BitbucketServer
raw['scmId'] == 'git'
end
- def has_wiki?
- false
- end
-
def visibility_level
if project['public']
Gitlab::VisibilityLevel::PUBLIC