diff options
| -rw-r--r-- | lib/byteback/backup_directory.rb | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/lib/byteback/backup_directory.rb b/lib/byteback/backup_directory.rb index bdfc29c..f485297 100644 --- a/lib/byteback/backup_directory.rb +++ b/lib/byteback/backup_directory.rb @@ -11,6 +11,8 @@ module Byteback  			BACKUP_IMPORTANCE = [1, 2, 7, 14, 21, 28, 56, 112]  			def sort_by_importance(snapshots_unsorted, now=Time.now) +                return snapshots_unsorted if ( snapshots_unsorted.size < 1 ) +          #           # Keep the last 7 days backups          # | 
