Commit 05438a0d authored by Steven Wittens's avatar Steven Wittens

Disabled the buggy cron for now. Will fix tomorrow.

parent 376e71f1
......@@ -13,7 +13,7 @@ function Poll($poll) {
}
function poll_cron() {
$result = _node_get(array("type" => "poll"));
/* $result = _node_get(array("type" => "poll"));
while ($poll = db_fetch_array($result)) {
if ($poll[active]) {
if (($poll[timestamp] + $poll[runtime]) < time()) {
......@@ -21,7 +21,7 @@ function poll_cron() {
node_save($poll, array(active));
}
}
}
}*/
}
function poll_get_choices_array($poll) {
......
......@@ -13,7 +13,7 @@ function Poll($poll) {
}
function poll_cron() {
$result = _node_get(array("type" => "poll"));
/* $result = _node_get(array("type" => "poll"));
while ($poll = db_fetch_array($result)) {
if ($poll[active]) {
if (($poll[timestamp] + $poll[runtime]) < time()) {
......@@ -21,7 +21,7 @@ function poll_cron() {
node_save($poll, array(active));
}
}
}
}*/
}
function poll_get_choices_array($poll) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment