From 05438a0d8b68e4c7f9a29f43acc4a940d861afa7 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Tue, 22 May 2001 21:42:20 +0000 Subject: Disabled the buggy cron for now. Will fix tomorrow. --- modules/poll.module | 4 ++-- modules/poll/poll.module | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/poll.module b/modules/poll.module index eefa9740c..22902e975 100644 --- a/modules/poll.module +++ b/modules/poll.module @@ -13,7 +13,7 @@ class 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) { diff --git a/modules/poll/poll.module b/modules/poll/poll.module index eefa9740c..22902e975 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -13,7 +13,7 @@ class 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) { -- cgit v1.2.3