Manually correct autocorrect

This commit is contained in:
Douwe Maan 2017-02-22 16:35:45 -06:00
parent b3ff48c9a1
commit 0beba0251c
2 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,7 @@ class PruneOldEventsWorker
'created_at < ?',
(12.months + 1.day).ago)
.select(:id)
.limit(10_000))
.delete_all
.limit(10_000)
).delete_all
end
end

View File

@ -20,6 +20,7 @@ class Settings < Settingslogic
else
":#{gitlab.port}"
end
[
gitlab.protocol,
"://",
@ -82,6 +83,7 @@ class Settings < Settingslogic
def base_url(config)
custom_port = on_standard_port?(config) ? nil : ":#{config.port}"
[
config.protocol,
"://",