diff options
author | Jarka Kadlecová <jarka@gitlab.com> | 2018-07-09 15:21:08 +0200 |
---|---|---|
committer | Jarka Kadlecová <jarka@gitlab.com> | 2018-07-09 15:21:08 +0200 |
commit | cc37cb647ab8fe935f3de778229bf21728cd150c (patch) | |
tree | 6f7cd65ce9f6700b04f88d90cd7addf02b914bc3 | |
parent | acdac151f51a9f719e7ebbdf7811c3460113a8fb (diff) | |
download | gitlab-ce-42446-note-uploader-remove.tar.gz |
Remove deprecated AttachmentUploader from Note42446-note-uploader-remove
-rw-r--r-- | app/models/note.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/models/note.rb b/app/models/note.rb index 3918bbee194..30b43640b74 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -88,9 +88,6 @@ class Note < ActiveRecord::Base end end - # @deprecated attachments are handler by the MarkdownUploader - mount_uploader :attachment, AttachmentUploader - # Scopes scope :for_commit_id, ->(commit_id) { where(noteable_type: "Commit", commit_id: commit_id) } scope :system, -> { where(system: true) } |