diff options
author | Jarka Kadlecová <jarka@gitlab.com> | 2018-07-16 15:35:19 +0200 |
---|---|---|
committer | Jarka Kadlecová <jarka@gitlab.com> | 2018-08-02 10:42:45 +0200 |
commit | 15179878d57addb010b5afeadd4bde8b62ef3acb (patch) | |
tree | aad121955d9ab691584613e3aea20a1b9c5eeaea /app/models/issue.rb | |
parent | 0233fffe283857d9934460625f9c17fcd278536b (diff) | |
download | gitlab-ce-15179878d57addb010b5afeadd4bde8b62ef3acb.tar.gz |
Revert "Revert "Merge branch 'ee-5481-epic-todos' into 'master'""
This reverts commit 8717c7dad9b5a8fa21ec9a652c54718a6b4c2175.
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index e4ed06f9a69..b5e6a93b870 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -276,10 +276,6 @@ class Issue < ActiveRecord::Base user ? readable_by?(user) : publicly_visible? end - def overdue? - due_date.try(:past?) || false - end - def check_for_spam? project.public? && (title_changed? || description_changed?) end |