Commit 0b28c8cd authored by Toon Claes's avatar Toon Claes

Fix incorrect break statement

parent eced61d9
......@@ -6,7 +6,7 @@ module RepositoryCheck
RUN_TIME = 3600
def perform
break unless Gitlab::CurrentSettings.repository_checks_enabled
return unless Gitlab::CurrentSettings.repository_checks_enabled
start = Time.now
......
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