From c77c73ffe064e62926413df9c56fa234ec7889b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Wed, 31 Oct 2018 10:45:27 +0100 Subject: [PATCH] [28864] Include protocol changes into cache dependencies https://community.openproject.com/wp/28864 --- lib/open_project/avatars/patches/user_representer_patch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/open_project/avatars/patches/user_representer_patch.rb b/lib/open_project/avatars/patches/user_representer_patch.rb index a8b8455..72ea31a 100644 --- a/lib/open_project/avatars/patches/user_representer_patch.rb +++ b/lib/open_project/avatars/patches/user_representer_patch.rb @@ -9,7 +9,7 @@ module ClassMethods # Dependencies required to cache users with avatars # When the plugin is loaded, depend on its settings def avatar_cache_dependencies - [Setting.plugin_openproject_avatars] + [Setting.plugin_openproject_avatars, Setting.protocol] end end end