Commit 9ed41ac4 authored by Alex Kalderimis's avatar Alex Kalderimis

Remove unused method UserAccess#can_read_project?

parent e8979927
......@@ -92,12 +92,6 @@ module Gitlab
end
end
def can_read_project?
return false unless can_access_git?
user.can?(:read_project, project)
end
private
def permission_cache
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment