maintenance: Add caller when running query builder

Change-Id: Ib86db407516a6ccf73442eb3e5724b4c36af5123
This commit is contained in:
Umherirrender 2024-05-30 23:57:20 +02:00
parent ca500a3937
commit 69eea92d2d

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;