Remove unused methods
This commit is contained in:
parent
e3d7ce2cc4
commit
5a214ee6f1
10 changed files with 9 additions and 62 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue