From a7603b1cfb8188e77633b0686cce8753720c4907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 5 Feb 2018 16:58:57 +0100 Subject: [PATCH] remove unused file --- spec/jobs/clean_up_digest_keys.rb | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 spec/jobs/clean_up_digest_keys.rb diff --git a/spec/jobs/clean_up_digest_keys.rb b/spec/jobs/clean_up_digest_keys.rb deleted file mode 100644 index d148836a71c..00000000000 --- a/spec/jobs/clean_up_digest_keys.rb +++ /dev/null @@ -1,12 +0,0 @@ -module Jobs - - class CleanUpDigestKeys < Jobs::Scheduled - every 1.day - - def execute(args) - # Remove unused digest keys - DigestUnsubscribeKey.where('created_at < ?', 2.months.ago).delete_all - end - end - -end