summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2015-11-18 18:14:13 +0100
committerMarin Jankovski <maxlazio@gmail.com>2015-11-18 18:14:13 +0100
commitbf3c0aafaa17c2e322d225180fd9708ec2827ac4 (patch)
tree6bfbadf18704d4b4ba6123be6b1eba1a06f6acaf
parentd9c4625c6d5264756f6ca43f7a8f5eb984d753bc (diff)
downloadgitlab-ce-bf3c0aafaa17c2e322d225180fd9708ec2827ac4.tar.gz
-rw-r--r--lib/backup/manager.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backup/manager.rb b/lib/backup/manager.rb
index 69922eb66ea..e7eda7c6f45 100644
--- a/lib/backup/manager.rb
+++ b/lib/backup/manager.rb
@@ -158,7 +158,7 @@ module Backup
end
def folders_to_backup
- %w{repositories db}.map{ |name| name unless skipped?(name) }.compact
+ %w{repositories db}.reject{ |name| skipped?(name) }
end
def settings