PollMgr.closePoll (currPoll)
set a poll to closed state

  • Parameter Object:
    the poll to be closed
  • Returns
    Object containing the properties - error (boolean): true if error occured, false otherwise - message (String): an error or a confirmation message
Sourcecode in PollMgr/objectFunctions.js:
1:   function closePoll(currPoll) {
2:      currPoll.closed = 1;
3:      return new Message("pollClose");
4:   }