Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-03-31 04:33:45 +0300
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-05 19:44:14 +0300
commitbb8cc946689bfafb1e3a65aa00b8e75fb8a5006b (patch)
treec63719f281b3e38c149ce8a7425d826850914f80 /app/models/individual_note_discussion.rb
parent2058e71e63c9ac471137f831b4d04b6626968532 (diff)
Don't use original_discussion_id
Diffstat (limited to 'app/models/individual_note_discussion.rb')
-rw-r--r--app/models/individual_note_discussion.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/individual_note_discussion.rb b/app/models/individual_note_discussion.rb
index 585b8527883..ebcf60beaf3 100644
--- a/app/models/individual_note_discussion.rb
+++ b/app/models/individual_note_discussion.rb
@@ -1,8 +1,4 @@
class IndividualNoteDiscussion < Discussion
- def self.build_discussion_id(note)
- [*super(note), SecureRandom.hex]
- end
-
# Keep this method in sync with the `potentially_resolvable` scope on `ResolvableNote`
def potentially_resolvable?
false