From 59ef948640cb3c6cc268db29ef91a4f3718597e2 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Mon, 18 Nov 2019 05:09:18 -0600 Subject: Get rid of the `Formatter` cache. It isn't worth the admin headaches. --- app/controllers/settings/profiles_controller.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'app/controllers/settings') 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') -- cgit