So site admins can use cron/ drush queue-run

CommentFileSizeAuthor
#2 og_vocab-queue-1945812-2.patch3.78 KBroysegall

Comments

amitaibu’s picture

Assigned: amitaibu » roysegall

Assign to RoySegall

roysegall’s picture

Status: Active » Needs review
StatusFileSize
new3.78 KB

Patch is attached.

Also, the work committed to branch 1945812.

amitaibu’s picture

Status: Needs review » Needs work
+++ b/includes/og_vocab.og_vocab.incundefined
@@ -210,12 +210,10 @@ class OgVocab extends Entity {
+    if (variable_get('og_vocab_use_queue', FALSE)) {

Lets remove this variable and use OG core's on (og_use_queue)

+++ b/og_vocab.moduleundefined
@@ -1469,14 +1463,25 @@ function og_vocab_advanced_queue_info() {
+function og_vocab_remove_referenced_items_queue_worker($data, $end_time = FALSE) {

Remove the $end_time

+++ b/og_vocab.moduleundefined
@@ -1536,15 +1541,16 @@ function og_vocab_advancedqueue_worker($item, $end_time = FALSE) {
+    'last_id' => $last_id,

Document what last ID is.

amitaibu’s picture

Assigned: roysegall » amitaibu

I'll be working on #3

amitaibu’s picture

Status: Needs work » Fixed

Made a few changes (Tests pass locally), and committed. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.