Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/162007

Change subject: Avoided use of deprecated job method
......................................................................

Avoided use of deprecated job method

Change-Id: I32a76ff80ec9d67c9a82f2d10080d1b5d80aea91
---
M backend/FRExtraCacheUpdate.php
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/FlaggedRevs 
refs/changes/07/162007/1

diff --git a/backend/FRExtraCacheUpdate.php b/backend/FRExtraCacheUpdate.php
index e5e40b5..28758c7 100644
--- a/backend/FRExtraCacheUpdate.php
+++ b/backend/FRExtraCacheUpdate.php
@@ -72,7 +72,8 @@
                        }
                        $start = $id; // Where the last ID left off
                } while ( $start );
-               Job::batchInsert( $jobs );
+
+               JobQueueGroup::singleton()->push( $jobs );
        }
 
        public function getFromField() {

-- 
To view, visit https://gerrit.wikimedia.org/r/162007
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I32a76ff80ec9d67c9a82f2d10080d1b5d80aea91
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/FlaggedRevs
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to