summaryrefslogtreecommitdiff
path: root/app/models/milestone.rb
diff options
context:
space:
mode:
authorJacopo <beschi.jacopo@gmail.com>2017-04-07 07:14:27 +0200
committerJacopo <beschi.jacopo@gmail.com>2017-04-07 07:21:34 +0200
commit370fd105bc2fd44de55306226502ba33d10ee14e (patch)
treeaed305406fe2611dd9c3ad00b7f8dd2bbf1c50ac /app/models/milestone.rb
parent46e4ed6bd0c8c256bce6d35b4bb992d77fd09971 (diff)
downloadgitlab-ce-370fd105bc2fd44de55306226502ba33d10ee14e.tar.gz
Removed `Milestone#is_empty?`
Removed `Milestone#is_empty?` because is not used anymore in the codebase
Diffstat (limited to 'app/models/milestone.rb')
-rw-r--r--app/models/milestone.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/milestone.rb b/app/models/milestone.rb
index ac205b9b738..652b1551928 100644
--- a/app/models/milestone.rb
+++ b/app/models/milestone.rb
@@ -153,10 +153,6 @@ class Milestone < ActiveRecord::Base
active? && issues.opened.count.zero?
end
- def is_empty?(user = nil)
- total_items_count(user).zero?
- end
-
def author_id
nil
end