summaryrefslogtreecommitdiff
path: root/app/models/note.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-05-13 14:53:31 -0500
committerDouwe Maan <douwe@selenight.nl>2016-05-13 17:31:58 -0500
commit7848d54f5b0024f58d8ce2b0259347816be5bdbc (patch)
treef3b8edbd0be946edec4b2c4e2bd29070e3f68947 /app/models/note.rb
parent9a3ed265e9c82ee55bc6a17737ef6c5c2a1ad7e3 (diff)
downloadgitlab-ce-7848d54f5b0024f58d8ce2b0259347816be5bdbc.tar.gz
Clean up LegacyDiffNote somewhat
Diffstat (limited to 'app/models/note.rb')
-rw-r--r--app/models/note.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/note.rb b/app/models/note.rb
index 3bc55870704..7e5bdc09a84 100644
--- a/app/models/note.rb
+++ b/app/models/note.rb
@@ -112,6 +112,10 @@ class Note < ActiveRecord::Base
false
end
+ def active?
+ true
+ end
+
def discussion_id
@discussion_id ||=
if for_merge_request?