From 69eea92d2dbc51a2763433330d8c63a3cef73921 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Thu, 30 May 2024 23:57:20 +0200 Subject: [PATCH] maintenance: Add caller when running query builder Change-Id: Ib86db407516a6ccf73442eb3e5724b4c36af5123 --- maintenance/removeOrphanedEvents.php | 1 + 1 file changed, 1 insertion(+) diff --git a/maintenance/removeOrphanedEvents.php b/maintenance/removeOrphanedEvents.php index dfe295721..58754b070 100644 --- a/maintenance/removeOrphanedEvents.php +++ b/maintenance/removeOrphanedEvents.php @@ -40,6 +40,7 @@ class RemoveOrphanedEvents extends LoggedUpdateMaintenance { $maxId = (int)$dbr->newSelectQueryBuilder() ->select( 'MAX(event_id)' ) ->from( 'echo_event' ) + ->caller( __METHOD__ ) ->fetchField(); $eventsProcessedTotal = 0; $targetsProcessedTotal = 0;