Remove unused methods

This commit is contained in:
Dmitriy Zaporozhets 2013-01-05 13:11:15 +02:00
parent e3d7ce2cc4
commit 5a214ee6f1
10 changed files with 9 additions and 62 deletions

View file

@ -9,7 +9,7 @@ module Notes
@notes = case target_type
when "commit"
project.commit_notes(project.repository.commit(target_id)).fresh.limit(20)
project.notes.for_commit_id(target_id).not_inline.fresh.limit(20)
when "issue"
project.issues.find(target_id).notes.inc_author.fresh.limit(20)
when "merge_request"