diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-05-11 15:56:00 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-05-26 15:48:31 -0400 |
commit | 0359d41b064e9f7680d0017013e011103747b614 (patch) | |
tree | ddfd718de791e8df6f7717e6a6656d8ef41b497e /app/models/commit.rb | |
parent | 38fb6279f9709e43f80c70c1fd4cccef77963b21 (diff) | |
download | gitlab-ce-0359d41b064e9f7680d0017013e011103747b614.tar.gz |
Implement gfm_reference directly in Mentionable
Except for Note, which still overrides it.
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r-- | app/models/commit.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb index 3cc8d11a4aa..085f4e6398f 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -140,11 +140,6 @@ class Commit Gitlab::ClosingIssueExtractor.new(project, current_user).closed_by_message(safe_message) end - # Mentionable override. - def gfm_reference - "commit #{to_reference}" - end - def author User.find_for_commit(author_email, author_name) end |