[Git][noosfero/noosfero][master] 2 commits: Update community cache behavior in profile index
Rodrigo Souto
gitlab at mg.gitlab.com
Wed Apr 11 12:41:20 BRT 2018
Rodrigo Souto pushed to branch master at Noosfero / noosfero
Commits:
b2f072c4 by Raphael Matos da Costa at 2018-04-04T20:25:21Z
Update community cache behavior in profile index
- - - - -
6c3876bc by Rodrigo Souto at 2018-04-11T15:41:03Z
Merge branch 'patch-4' into 'master'
Update community cache behavior in profile index
See merge request noosfero/noosfero!1426
- - - - -
1 changed file:
- app/sweepers/profile_sweeper.rb
Changes:
=====================================
app/sweepers/profile_sweeper.rb
=====================================
--- a/app/sweepers/profile_sweeper.rb
+++ b/app/sweepers/profile_sweeper.rb
@@ -15,6 +15,7 @@ protected
def expire_caches(profile)
profile.members.each do |member|
expire_communities(member) if profile.community?
+ expire_profile_index(member) if profile.community?
expire_enterprises(member) if profile.enterprise?
expire_profile_index(member) if profile.enterprise?
end
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/f159c95ac2b68b1e25c8d000a303762c513b5185...6c3876bc796b1a20bd45e2d5e8356ffd37b134bd
---
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/f159c95ac2b68b1e25c8d000a303762c513b5185...6c3876bc796b1a20bd45e2d5e8356ffd37b134bd
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180411/81ca6364/attachment-0001.html>
More information about the Noosfero-dev
mailing list