Commit 6d48b4297d826b1b431f5eafd78be00b0a2be919

Authored by Hugo Melo
1 parent 5bf066b6

Remove hardcoded check from person extension

Showing 1 changed file with 2 additions and 6 deletions   Show diff stats
lib/ext/person.rb
... ... @@ -14,12 +14,8 @@ class Person
14 14 end
15 15  
16 16 def is_profile_complete?
17   - !(self.name.blank? or
18   - (self.data[:identidade_genero].blank? and self.data[:transgenero].blank?) or
19   - self.data[:etnia].blank? or
20   - self.data[:orientacao_sexual].blank? or
21   - self.data[:state].blank? or
22   - self.data[:city].blank?)
  17 + #FIXME: this method should check all fields on profile to be completed
  18 + false
23 19 end
24 20  
25 21 def points_by_type type
... ...