Commit c430c80bffbeb8edc4b2bf654a90d63fb6d3fcd4
1 parent
62193d8b
Exists in
staging
and in
31 other branches
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.
Showing
1 changed file
with
0 additions
and
15 deletions
Show diff stats
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 | ... | ... |