diff options
Diffstat (limited to 'app/lib/vacuum/media_attachments_vacuum.rb')
-rw-r--r-- | app/lib/vacuum/media_attachments_vacuum.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/vacuum/media_attachments_vacuum.rb b/app/lib/vacuum/media_attachments_vacuum.rb index 7fb347ce4..7c0a85a9d 100644 --- a/app/lib/vacuum/media_attachments_vacuum.rb +++ b/app/lib/vacuum/media_attachments_vacuum.rb @@ -8,8 +8,8 @@ class Vacuum::MediaAttachmentsVacuum end def perform - vacuum_cached_files! if retention_period? vacuum_orphaned_records! + vacuum_cached_files! if retention_period? end private |