[maemo-community] Brainstorm: useful?
From: Dave Neary dneary at maemo.orgDate: Fri Dec 11 15:09:14 EET 2009
- Previous message: Brainstorm: useful?
 - Next message: Brainstorm: useful?
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
 
Hi,
Oskari Kokko wrote:
> Well, cron-job is the only reasonable way to trigger this kind a check.
A check when someone votes wouldn't be easier?
After recording a vote:
if (idea.karma >= 10){
  idea.state=UNDER_VOTE;
  idea.save();
}
Cheers,
Dave.
-- 
maemo.org docsmaster
Email: dneary at maemo.org
Jabber: bolsh at jabber.org
    - Previous message: Brainstorm: useful?
 - Next message: Brainstorm: useful?
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
 
