Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
05438a0d
Commit
05438a0d
authored
May 22, 2001
by
Steven Wittens
Browse files
Disabled the buggy cron for now. Will fix tomorrow.
parent
376e71f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/poll.module
View file @
05438a0d
...
...
@@ -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
)
{
...
...
modules/poll/poll.module
View file @
05438a0d
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment