mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
fixed always true line
This commit is contained in:
parent
9f9ae6f836
commit
227e0052b3
1 changed files with 0 additions and 1 deletions
|
|
@ -108,7 +108,6 @@ class Project < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def needs_review?(current_user)
|
||||
return false unless !nil?
|
||||
return true if last_reviewed.nil?
|
||||
return (active? && (last_reviewed < current_user.time - current_user.prefs.review_period.days))
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue