about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-11-17 14:58:56 -0600
committermultiple creatures <dev@multiple-creature.party>2019-11-17 14:58:56 -0600
commitc8244ef72808e9a31458c234d6183c19850d0573 (patch)
treeef5401bb1ac63c7945420a171f77298f2300f839 /app/workers
parent389a817aad47fff8bcadc949a1804bd7f2d23053 (diff)
Remove duplicated code.
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/post_status_worker.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/workers/post_status_worker.rb b/app/workers/post_status_worker.rb
index 9f3fb7f63..99f2c2e99 100644
--- a/app/workers/post_status_worker.rb
+++ b/app/workers/post_status_worker.rb
@@ -15,7 +15,6 @@ class PostStatusWorker
     status.save!
 
     process_mentions_service.call(status) unless options[:nomentions]
-    Rails.cache.delete("formatted_status:#{status.id}")
 
     LinkCrawlWorker.perform_async(status.id) unless options[:nocrawl] || status.spoiler_text?
     DistributionWorker.perform_async(status.id) unless options[:distribute] == false