Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-06-14 13:47:07 +0300
committerJames Lopez <james@jameslopez.es>2016-06-14 13:47:07 +0300
commit3f7ed550110daaec8a76af7146b701dfc0210e60 (patch)
tree25fa93f0c306f8ea2ab9b28f26dfb11bb7551184 /app/models/todo.rb
parent1ea44ee75077d67f3f24a288cc44d7c275ba8581 (diff)
lots of refactoring to reuse import service
Diffstat (limited to 'app/models/todo.rb')
-rw-r--r--app/models/todo.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/todo.rb b/app/models/todo.rb
index b0401463269..3a091373329 100644
--- a/app/models/todo.rb
+++ b/app/models/todo.rb
@@ -45,10 +45,6 @@ class Todo < ActiveRecord::Base
target_type == "Commit"
end
- def for_project?
- target_type == "Project"
- end
-
# override to return commits, which are not active record
def target
if for_commit?