summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index bc33350..6c876bd 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -51,11 +51,7 @@ class Commit < ActiveRecord::Base
end
def compare?
- gitlab? && !new_branch?
- end
-
- def gitlab?
- project.gitlab?
+ !new_branch?
end
def git_author_name