summaryrefslogtreecommitdiffstats
path: root/app/models/repository.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index 838984158..e31bc3557 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -337,7 +337,7 @@ class Repository < ActiveRecord::Base
# scan changeset comments to find related and fixed issues for all repositories
def self.scan_changesets_for_issue_ids
- find(:all).each(&:scan_changesets_for_issue_ids)
+ all.each(&:scan_changesets_for_issue_ids)
end
def self.scm_name