summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2001-05-22 21:42:20 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2001-05-22 21:42:20 +0000
commit05438a0d8b68e4c7f9a29f43acc4a940d861afa7 (patch)
tree3e3c2c1912a965c3d0630621e0583a6561857fb4
parent376e71f1f8f82cc9cc5959f7f15f5fb53871df25 (diff)
downloadbrdo-05438a0d8b68e4c7f9a29f43acc4a940d861afa7.tar.gz
brdo-05438a0d8b68e4c7f9a29f43acc4a940d861afa7.tar.bz2
Disabled the buggy cron for now. Will fix tomorrow.
-rw-r--r--modules/poll.module4
-rw-r--r--modules/poll/poll.module4
2 files changed, 4 insertions, 4 deletions
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) {