From 5a214ee6f198a90f41a54b3dd7f2ff6a318a8deb Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sat, 5 Jan 2013 13:11:15 +0200 Subject: Remove unused methods --- app/models/commit.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'app/models/commit.rb') diff --git a/app/models/commit.rb b/app/models/commit.rb index 7e64c0f6e82..17d41f27f34 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -149,10 +149,6 @@ class Commit prev_commit.try :id end - def parents_count - parents && parents.count || 0 - end - # Shows the diff between the commit's parent and the commit. # # Cuts out the header and stats from #to_patch and returns only the diff. -- cgit v1.2.1