Commit 9cc7056d270fdc5bf5adf9323d6e125a83c4c997
Exists in
send_email_to_admins
and in
5 other branches
Merge branch 'remove_comments' into 'master'
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. See merge request !887
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,21 +9,6 @@ class AverageRatingBlock < Block | ||
9 | _('This block displays the organization average rating.') | 9 | _('This block displays the organization average rating.') |
10 | end | 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 | def cacheable? | 12 | def cacheable? |
28 | false | 13 | false |
29 | end | 14 | end |