diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2015-11-18 18:14:13 +0100 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-11-18 18:14:13 +0100 |
commit | bf3c0aafaa17c2e322d225180fd9708ec2827ac4 (patch) | |
tree | 6bfbadf18704d4b4ba6123be6b1eba1a06f6acaf | |
parent | d9c4625c6d5264756f6ca43f7a8f5eb984d753bc (diff) | |
download | gitlab-ce-bf3c0aafaa17c2e322d225180fd9708ec2827ac4.tar.gz |
USe reject.check_if_it_should_be_archived_in_backup
-rw-r--r-- | lib/backup/manager.rb | 2 |
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 |