aboutsummaryrefslogtreecommitdiffstats
path: root/includes/jobqueue
diff options
context:
space:
mode:
Diffstat (limited to 'includes/jobqueue')
-rw-r--r--includes/jobqueue/jobs/RecentChangesUpdateJob.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/jobqueue/jobs/RecentChangesUpdateJob.php b/includes/jobqueue/jobs/RecentChangesUpdateJob.php
index 84ea91e7efd2..2516a25554b8 100644
--- a/includes/jobqueue/jobs/RecentChangesUpdateJob.php
+++ b/includes/jobqueue/jobs/RecentChangesUpdateJob.php
@@ -101,7 +101,7 @@ class RecentChangesUpdateJob extends Job {
}
if ( $rcIds ) {
$dbw->delete( 'recentchanges', [ 'rc_id' => $rcIds ], __METHOD__ );
- Hooks::run( 'RecentChangesPurgeRows', [ $rows ] );
+ Hooks::runner()->onRecentChangesPurgeRows( $rows );
// There might be more, so try waiting for replica DBs
if ( !$factory->commitAndWaitForReplication(
__METHOD__, $ticket, [ 'timeout' => 3 ]