Skip to content

Commit

Permalink
Merge pull request #9 from opf/fix/28864/avatar-caching
Browse files Browse the repository at this point in the history
[28864] Include protocol changes into cache dependencies

[ci skip]
  • Loading branch information
oliverguenther authored Oct 31, 2018
2 parents 01fecc1 + c77c73f commit ef493b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/open_project/avatars/patches/user_representer_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef493b1

Please sign in to comment.