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: [email protected]
Jabber: [email protected]

_______________________________________________
maemo-community mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-community

Reply via email to