end
+
+ ### Convert a shortname or id into a QuickVote
+ def self.ident_to_quickvote(ident)
+ if ident.match(/^\d+$/)
+ quickvote = QuickVote.find(ident)
+ else
+ quickvote = QuickVote.find_all(["name = ?", ident])[0]
+ end
+
+ return quickvote
+ end
end