Commit 22a0ef3d authored by Toon Claes's avatar Toon Claes

Fix incorrect break statement

parent ce9355c8
......@@ -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