annotate model/non_voter.lua @ 1133:48cc61cd91c3
Fixed two typos in German translation
 | author | 
 bsw | 
 | date | 
 Thu Jan 08 22:02:50 2015 +0100 (2015-01-08) | 
 | parents | 
 2e9d39b53b64  | 
 | children | 
  | 
 
 | rev | 
   line source | 
| 
bsw@886
 | 
     1 NonVoter = mondelefant.new_class()
 | 
| 
bsw@886
 | 
     2 NonVoter.table = 'non_voter'
 | 
| 
bsw@886
 | 
     3 NonVoter.primary_key = { "issue_id", "member_id" }
 | 
| 
bsw@886
 | 
     4 
 | 
| 
bsw@886
 | 
     5 function NonVoter:by_pk(issue_id, member_id)
 | 
| 
bsw@886
 | 
     6   return self:new_selector()
 | 
| 
bsw@886
 | 
     7     :add_where{ "issue_id = ? AND member_id = ?", issue_id, member_id }
 | 
| 
bsw@886
 | 
     8     :optional_object_mode()
 | 
| 
bsw@886
 | 
     9     :exec()
 | 
| 
bsw@886
 | 
    10 end |