Skip to content
Snippets Groups Projects
Commit b5267744 authored by Bojan Živanović's avatar Bojan Živanović
Browse files

Don't enable the cron runner by default.

parent bbeae5d8
Branches
Tags 7.x-1.0-beta2
No related merge requests found
......@@ -51,7 +51,7 @@ function advancedqueue_entity_info() {
* Implements hook_cron().
*/
function advancedqueue_cron() {
if (!variable_get('advancedqueue_use_cron', TRUE)) {
if (!variable_get('advancedqueue_use_cron', FALSE)) {
return;
}
......@@ -85,7 +85,7 @@ function advancedqueue_form_system_cron_settings_alter(&$form, $form_state, $for
'#title' => t('Process Advanced Queue via Cron'),
'#multiple' => TRUE,
'#description' => t('Enable to allow queue items to to be processed using Cron. This is a "poor man\'s" option that allows processing the queue, as the better solution would be to execute the Drush command via the command line.'),
'#default_value' => variable_get('advancedqueue_use_cron', TRUE),
'#default_value' => variable_get('advancedqueue_use_cron', FALSE),
);
}
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment