]> source.dussan.org Git - redmine.git/commitdiff
Fixes methods comments.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 5 Jul 2015 12:53:57 +0000 (12:53 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 5 Jul 2015 12:53:57 +0000 (12:53 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14409 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/issue.rb

index 72df50cd6cd0c537ebb6b22628629aa3596607ad..e0f93faef19c3e48c57b8fe6a2765e97089e7fe9 100644 (file)
@@ -947,7 +947,7 @@ class Issue < ActiveRecord::Base
     end
   end
 
-  # Preloads visible total spent time for a collection of issues
+  # Preloads visible spent time for a collection of issues
   def self.load_visible_spent_hours(issues, user=User.current)
     if issues.any?
       hours_by_issue_id = TimeEntry.visible(user).where(:issue_id => issues.map(&:id)).group(:issue_id).sum(:hours)
@@ -957,6 +957,7 @@ class Issue < ActiveRecord::Base
     end
   end
 
+  # Preloads visible total spent time for a collection of issues
   def self.load_visible_total_spent_hours(issues, user=User.current)
     if issues.any?
       hours_by_issue_id = TimeEntry.visible(user).joins(:issue).