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:
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?