summaryrefslogtreecommitdiff
path: root/app/models/note.rb
diff options
context:
space:
mode:
authorJarka Kadlecová <jarka@gitlab.com>2018-07-11 18:33:24 +0200
committerJarka Kadlecová <jarka@gitlab.com>2018-07-11 18:33:24 +0200
commit8717c7dad9b5a8fa21ec9a652c54718a6b4c2175 (patch)
treeabedd3ea3e4de67953b992df1a67d7baef8aebe2 /app/models/note.rb
parentc7c630f142a23505b4adce449c0a176dec142384 (diff)
downloadgitlab-ce-8717c7dad9b5a8fa21ec9a652c54718a6b4c2175.tar.gz
Revert "Merge branch 'ee-5481-epic-todos' into 'master'"
This reverts commit 4d9a3f42f1fd3be21555e19872b7121cca65015e, reversing changes made to ecf9c145f6e4d170cd059df88743393d9e63c489.
Diffstat (limited to 'app/models/note.rb')
-rw-r--r--app/models/note.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/note.rb b/app/models/note.rb
index 3918bbee194..abc40d9016e 100644
--- a/app/models/note.rb
+++ b/app/models/note.rb
@@ -229,10 +229,6 @@ class Note < ActiveRecord::Base
!for_personal_snippet?
end
- def for_issuable?
- for_issue? || for_merge_request?
- end
-
def skip_project_check?
!for_project_noteable?
end