about summary refs log tree commit diff
path: root/app/controllers/settings
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-11-18 05:09:18 -0600
committermultiple creatures <dev@multiple-creature.party>2019-11-18 05:09:18 -0600
commit59ef948640cb3c6cc268db29ef91a4f3718597e2 (patch)
treed0c634049981b2ef0d6f89221f0937778b0b93eb /app/controllers/settings
parent345c6beb7e8a26e3537506ab3134c509d4ef6dc8 (diff)
Get rid of the `Formatter` cache. It isn't worth the admin headaches.
Diffstat (limited to 'app/controllers/settings')
-rw-r--r--app/controllers/settings/profiles_controller.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/settings/profiles_controller.rb b/app/controllers/settings/profiles_controller.rb
index 183dcdcfc..6b3f0d311 100644
--- a/app/controllers/settings/profiles_controller.rb
+++ b/app/controllers/settings/profiles_controller.rb
@@ -13,8 +13,6 @@ class Settings::ProfilesController < Settings::BaseController
   end
 
   def update
-    Rails.cache.delete("formatted_account:#{@account.id}")
-
     if UpdateAccountService.new.call(@account, account_params)
       ActivityPub::UpdateDistributionWorker.perform_async(@account.id)
       redirect_to settings_profile_path, notice: I18n.t('generic.changes_saved_msg')