summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2016-09-02 13:58:47 +0200
committerBryce Johnson <bryce@gitlab.com>2016-09-02 13:58:47 +0200
commitbaf2cd72b344823b91ef39d0344375e9dbb84208 (patch)
tree4e8e6de0b2c9fe53a54c4096050d3a794edbef84 /app/models/commit.rb
parente6aa1c5266d10fa13a481492f4a41eba3b5eb0c3 (diff)
parentfaac71215789cb8224c14be0a4fcbe252a99fa4f (diff)
downloadgitlab-ce-baf2cd72b344823b91ef39d0344375e9dbb84208.tar.gz
Merge branch 'master' into repository-page-ui-issues
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 817d063e4a2..e64fd1e0c1b 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -108,15 +108,6 @@ class Commit
@diff_line_count
end
- # Returns a string describing the commit for use in a link title
- #
- # Example
- #
- # "Commit: Alex Denisov - Project git clone panel"
- def link_title
- "Commit: #{author_name} - #{title}"
- end
-
# Returns the commits title.
#
# Usually, the commit title is the first line of the commit message.