Commit 7dbaaa3e authored by Robert Speicher's avatar Robert Speicher

Resolve lib/gitlab/checks/change_access.rb

parent 62a69cfa
......@@ -69,10 +69,6 @@ module Gitlab
def push_checks
logger.log_timed(LOG_MESSAGES[__method__]) do
unless can_push?
<<<<<<< HEAD
# You are not allowed to push code to this project.
=======
>>>>>>> upstream/master
raise GitAccess::UnauthorizedError, ERROR_MESSAGES[:push_code]
end
end
......
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