summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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