Commit c430c80bffbeb8edc4b2bf654a90d63fb6d3fcd4

Authored by Rafael Reggiani Manzo
1 parent 62193d8b

Remove forgotten commented code

This was commented out in order to check if the previous refactor was
good to go. Once it've got working, I've forgotten about these lines.
plugins/organization_ratings/lib/average_rating_block.rb
... ... @@ -9,21 +9,6 @@ class AverageRatingBlock < Block
9 9 _('This block displays the organization average rating.')
10 10 end
11 11  
12   - # def content(args = {})
13   - # profile_identifier = self.owner.identifier
14   - # average_rating = OrganizationRating.average_rating self.owner.id
15   -
16   - # proc do
17   - # render(
18   - # :file => 'blocks/display_organization_average_rating',
19   - # :locals => {
20   - # :profile_identifier => profile_identifier,
21   - # :average_rating => average_rating
22   - # }
23   - # )
24   - # end
25   - # end
26   -
27 12 def cacheable?
28 13 false
29 14 end
... ...