[Git][noosfero/noosfero][stable-2.0] Merge branch 'patch-4' into 'master'

Rodrigo Souto gitlab at mg.gitlab.com
Wed Apr 11 12:46:39 BRT 2018


Rodrigo Souto pushed to branch stable-2.0 at Noosfero / noosfero


Commits:
da0a632e by Rodrigo Souto at 2018-04-11T15:46:19Z
Merge branch 'patch-4' into 'master'

Update community cache behavior in profile index

See merge request noosfero/noosfero!1426

(cherry picked from commit 6c3876bc796b1a20bd45e2d5e8356ffd37b134bd)

b2f072c4 Update community cache behavior in profile index
- - - - -


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/commit/da0a632e124c5030b1c6e3c6b6d15363f86d97bf

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/da0a632e124c5030b1c6e3c6b6d15363f86d97bf
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/be800965/attachment.html>


More information about the Noosfero-dev mailing list