summaryrefslogtreecommitdiff
path: root/app/services/base_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/base_service.rb')
-rw-r--r--app/services/base_service.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/services/base_service.rb b/app/services/base_service.rb
index f00ec7408b6..6d9ed345914 100644
--- a/app/services/base_service.rb
+++ b/app/services/base_service.rb
@@ -31,10 +31,6 @@ class BaseService
SystemHooksService.new
end
- def repository
- project.repository
- end
-
# Add an error to the specified model for restricted visibility levels
def deny_visibility_level(model, denied_visibility_level = nil)
denied_visibility_level ||= model.visibility_level