noosfero | Code refactoring (!1264)

Rodrigo Souto gitlab at mg.gitlab.com
Tue Jul 4 15:54:48 BRT 2017


Rodrigo Souto started a new discussion on app/helpers/sweeper_helper.rb:

>      expire_timeout_fragment(profile.relationships_cache_key)
>    end
>  
> +  def blocks_expire(block)
> +    conditions = block.class.expire_on
> +    blocks_to_expire << block unless (conditions[block] & causes).blank?
> +  end
> +
> +  end

This `end` is a leftover.

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1264#note_34182193
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/20170704/fcfb6741/attachment.html>


More information about the Noosfero-dev mailing list