Merge "maintenance: Add caller when running query builder"

This commit is contained in:
jenkins-bot 2024-05-30 23:45:09 +00:00 committed by Gerrit Code Review
commit 55fd760f68

View file

@ -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;